Wishlist for branch management
- From
- H. Peter Anvin <hpa@zytor.com>
- Date
- Feb 1, 2010, 01:18 UTC
- Message-ID
- <4B662BEF.7040503@zytor.com>
A wishlist for better handling of branches:
git clone --branches
... git clone, with the additional step of setting up local branches for each one of the remote branches.
git branch --current
... list the current branch name, for use in scripts. Equivalent to: "git branch | grep '^\*' | cut -c3-"
git push --current
... push the current branch, and only the current branch...
-hpa
-- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.