git rebase onto remote updates

后端 未结 4 2561
慢半拍i
慢半拍i 2020-12-23 18:39

I work with a small team that uses git for source code management. Recently, we have been doing topic branches to keep track of features then merging them into master local

4条回答
  •  感情败类
    2020-12-23 19:04

    Do you know about git pull --rebase? It rebases rather than merging when you pull, and prevents merge commits from polluting your history.

    You can also set it up as the default behaviour for a branch with the branch..rebase and branch.autosetuprebase config options.

提交回复
热议问题