Help talk:Git rebase

Rendered with Parsoid
From Wikitech
Latest comment: 7 years ago by 20after4 in topic autosetuprebase

This page is quite helpful, but kind of buried, IMHO. (I came across it *after* pulling on another project.) Are there strong feelings on finding a way to make this page more prominent in the Getting Started pages of various Wikimedia coding projects?

autosetuprebase

This page goes to great lengths to vilify git merge and git pull. I won't touch the argument about merge, however, I don't understand why pull is discouraged without mentioning that you can change the default behavior to make pull use rebase. Just add this to ~/.gitconfig:

[branch]
        autosetuprebase = always

--20after4 (talk) 03:40, 25 May 2016 (UTC)Reply