[sr-dev] Avoiding notification: Merge branch 'master' of ...
Olle E. Johansson
oej at edvina.net
Wed Jan 9 10:44:16 CET 2013
9 jan 2013 kl. 10:27 skrev Daniel-Constantin Mierla <miconda at gmail.com>:
> Hello,
>
> to avoid getting extra commit notification as "Merge branch 'master' of ...", do next command before pushing commits to remote repository:
>
> git pull --ff --rebase origin master
>
> The notification results when someone else committed in between the moment you pulled last time the repository and the push. A rebase will make all notification clean.
I made a small script called "gitpull" with these commands that I use instead of "git pull"...
Making it simple...
/O
More information about the sr-dev
mailing list