4 ms·
I guess I have `git pull --rebase` as muscle memory. I would guess there's an easy way to make git do this automatically for you via config so you never forget
by lamontcg 5y ago
I guess I have `git pull --rebase` as muscle memory.
I would guess there's an easy way to make git do this automatically for you via config so you never forget, but I just never, ever `git pull`
Or:
> git config --global alias.up '!git fetch && git rebase --autostash FETCH_HEAD'
From:
https://github.com/JKrag/git-up https://github.com/JKrag/git-up
- deleted 5y ago[deleted]
- rjmunro 5y agogit config --global pull.rebase true You probably also want: git config --global rebase.autostash true
- deleted 5y ago[deleted]