emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/ema


From: Yuri Khan
Subject: Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Date: Wed, 28 Jan 2015 23:32:34 +0700

On Wed, Jan 28, 2015 at 9:45 PM, Andreas Schwab <address@hidden> wrote:

>>> I think I'm going to start using "git push -n" the next time I'm pushing
>>> on a branch...
>>
>> Why not "git show"?
>
> Because that doesn't tell you what will be pushed.

A good thing to do before pushing is to actually see the commit graph,
in gitk or gitg or gitx or in a pinch “git log --graph --decorate
--oneline”, with both the current local and remote branches displayed.
And always be explicit about what you are pushing — always “git push
origin master”, never “git push”. (“git config push.default simple”
helps but is not everybody’s default.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]