OSDir


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

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-unsubscribe@xxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxx
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxx