[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
git push precautions
From: |
Ivan Shmakov |
Subject: |
git push precautions |
Date: |
Wed, 28 Jan 2015 19:07:41 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
>>>>> Eli Zaretskii <address@hidden> writes:
[…]
> OK, but is "push -n" really the best alternative?
I wouldn’t call it “an alternative,” – to either git-log(1) or
git-diff(1).
> How about "git diff origin/master" (resp. origin/emacs-24)?
There’s a difference, – $ git diff shows the “cumulative” diff,
while $ git log -p shows the individual (per-commit) diffs.
Depending on the circumstances, either (or /both/) of these
commands may be of value.
As a “generic” advice, I’d rather recommend running $ git log -p
before pushing the changes.
--
FSF associate member #7257 http://boycottsystemd.org/ … 3013 B6A0 230E 334A
- Re: git push precautions, (continued)
- Re: git push precautions, Eli Zaretskii, 2015/01/28
- Re: git push precautions, David Kastrup, 2015/01/28
- Re: git push precautions, Yuri Khan, 2015/01/29
- Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs, Eli Zaretskii, 2015/01/28
- Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs, Andreas Schwab, 2015/01/28
- Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs, Eli Zaretskii, 2015/01/28
- git push precautions,
Ivan Shmakov <=
- Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs, Andreas Schwab, 2015/01/29
- Re: master 7f4f16b: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs, Nicolas Richard, 2015/01/29