all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Git question: specify branches to push
@ 2014-11-27 10:27 Stephen Berman
  2014-11-27 10:30 ` Lars Magne Ingebrigtsen
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Stephen Berman @ 2014-11-27 10:27 UTC (permalink / raw)
  To: emacs-devel

I've pushed several commits to emacs-24 at Savannah, and each time git
says the following:

 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'srb@git.sv.gnu.org:/srv/git/emacs.git'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. If you did not intend to push that branch, you may want to
hint: specify branches to push or set the 'push.default' configuration variable
hint: to 'simple', 'current' or 'upstream' to push only the current branch.

Of course I didn't want to push master so it's good it was rejected, but
it would be unpleasant if my master branch happens to be up to date when
I push emacs-24 (or vice versa).  But how do I tell git to push only
emacs-24 (or only master)?  I tried `git push emacs-24' and `git push
origin/emacs-24' but it didn't recognize either as an existing branch.

Steve Berman




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

end of thread, other threads:[~2015-04-18  6:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-27 10:27 Git question: specify branches to push Stephen Berman
2014-11-27 10:30 ` Lars Magne Ingebrigtsen
2014-11-27 11:15   ` Stephen Berman
2014-11-27 16:19   ` Eli Zaretskii
2014-11-27 16:43     ` Lars Magne Ingebrigtsen
2014-11-27 16:45       ` Eli Zaretskii
2014-11-27 16:53         ` Lars Magne Ingebrigtsen
2015-04-18  6:04           ` Steinar Bang
2014-11-27 17:04         ` David Engster
2014-11-27 17:14           ` Eli Zaretskii
2014-11-27 19:38             ` Stephen Berman
2014-11-27 17:06         ` Andreas Schwab
2014-11-27 10:59 ` Lee Duhem
2014-11-28 10:35 ` Phillip Lord

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.