MrSeaWave / blogs

✍🏻 个人博客,记录、分享一写随笔和技术知识
https://hailangya.com
4 stars 1 forks source link

git-pull-default - Sea's Blog #58

Open MrSeaWave opened 3 years ago

MrSeaWave commented 3 years ago

https://mrseawave.github.io/blogs/articles/2021/11/15/git-pull-default/#more

问题背景当使用 git 版本为 2.27.0 以上时,使用git pull命令出现以下的警告: 123456789101112hint: Pulling without specifying how to reconcile divergent branches ishint: discouraged. You can squelch this message by running one of

MrSeaWave commented 3 years ago

全局设置:git config --global pull.rebase false