git push

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

git push

From: John Tapsell <hidden>
Date: 2016-06-15 22:46:17

Hi all,

  Following the idea of 'least damage', what do people think of making
"git push" only push the branch you are currently on?

  I've accidentally committed commits in other branches because of a
git push.  I know there's some magic config kung-foo that you can do
to try to tame git push to just the current branch, but it would make
sense to have this as default.

John

Re: git push

From: Jeff King <hidden>
Date: 2016-06-15 22:46:17

On Wed, Feb 25, 2009 at 06:38:41AM +0000, John Tapsell wrote:
  Following the idea of 'least damage', what do people think of making
"git push" only push the branch you are currently on?
I think it has been discussed several times in the past. I think the
most recent was last October. So you might try searching the list
archives around that time.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help