+1 linear commits and branch.autosetuprebase always Gruss Bernd -- http://bernd.eckenfels.net ________________________________ From: Emmanuel Bourg <ebo...@apache.org> Sent: Saturday, June 9, 2018 11:54:01 PM To: Commons Developers List Subject: Re: [all] - git: prevent unnecessary merge commits?
+1, I prefer linear commit histories too. Emmanuel Bourg Le 09/06/2018 à 10:53, Pascal Schumacher a écrit : > Hello everybody, > > in my opinion it is a good practice to always use the "--rebase" option > when using "git pull". This keeps the history free of unnecessary merge > commits like "Merge branch 'master' of > https://git-wip-us.apache.org/repo...". > > You can also tell git to automatically rebase when pulling: > > git config --global pull.rebase true > > What do you think? > > Cheers, > > Pascal > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org