Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

Re: Wishlist for branch management

From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2016-06-15 22:48:08

On 01/31/2010 05:31 PM, Björn Steinbrink wrote:
quoted
git push --current

... push the current branch, and only the current branch...
Unless you want to push to a different ref remotely, e.g. pushing
refs/heads/master-public to refs/heads/master, you can use:
	git push <remote> HEAD

For example, when refs/heads/master is checked out, then:
	git push origin HEAD
acts the same as:
	git push origin refs/heads/master
Whatever is used, it should respect the configuration.  This requires
knowing what the configuration is set up as.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help