DEV Community

Discussion on: Git tips for trunk-based development

Collapse
 
tsalikispk profile image
Kostas Tsalikis

Great post, thank you! There is also a way to configure pull commands to rebase and auto-stash by default:

git config --global pull.rebase true
git config --global rebase.autoStash true

(credits to cscheng.info)