[Top][All Lists]

[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

 > 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

reply via email to

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