diff options
author | https://www.google.com/accounts/o8/id?id=AItOawll4Kgp7nMuOKdB0FfbcYZ3KRq7HCS0Slc <Laura@web> | 2014-01-16 17:45:53 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-01-16 17:45:53 +0000 |
commit | 837e4f6cb023c7b85916483cee4bab780ed6fa09 (patch) | |
tree | d177340542cef506aa6d4844f9d94ec5c4f803e2 /doc | |
parent | d06cceece8740c75257dd85d1df9bab8142bade2 (diff) |
removed
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/migrate_existing_git_repository_to_git-annex/comment_4_fbdc996c6c9994973bd3c0cbbbca32e1._comment | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/doc/forum/migrate_existing_git_repository_to_git-annex/comment_4_fbdc996c6c9994973bd3c0cbbbca32e1._comment b/doc/forum/migrate_existing_git_repository_to_git-annex/comment_4_fbdc996c6c9994973bd3c0cbbbca32e1._comment deleted file mode 100644 index 6c130a18d..000000000 --- a/doc/forum/migrate_existing_git_repository_to_git-annex/comment_4_fbdc996c6c9994973bd3c0cbbbca32e1._comment +++ /dev/null @@ -1,18 +0,0 @@ -[[!comment format=mdwn - username="https://www.google.com/accounts/o8/id?id=AItOawll4Kgp7nMuOKdB0FfbcYZ3KRq7HCS0Slc" - nickname="Laura" - subject="Rebase all branches" - date="2014-01-16T17:44:04Z" - content=""" -For the portion: git rebase master mybranch # how to automate this for all branches? - -Try this: - -branch_to_ignore='git-annex|master|newroot' -for branch in $(git for-each-ref --sort=-committerdate refs/heads --format='%(refname:short)' | egrep -v $branch_to_ignore ) - do git rebase --onto master \"$branch~\" \"$branch\" - echo \"Rebasing branch $branch onto master....\" -done - -Feel free to add/correct as necessary -"""]] |