git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Wishlist for branch management
@ 2010-02-01  1:18 H. Peter Anvin
  2010-02-01  1:31 ` Björn Steinbrink
  2010-02-01  9:19 ` Petr Baudis
  0 siblings, 2 replies; 5+ messages in thread
From: H. Peter Anvin @ 2010-02-01  1:18 UTC (permalink / raw)
  To: Git Mailing List

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-02-01 17:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-01  1:18 Wishlist for branch management H. Peter Anvin
2010-02-01  1:31 ` Björn Steinbrink
2010-02-01  3:22   ` H. Peter Anvin
2010-02-01  9:19 ` Petr Baudis
2010-02-01 17:49   ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).