The default setting pull IDEA project and push the remote branch

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/sgl520lxl/article/details/88425324

1: before the modification in FIG., The default item from origin / master branch pull

2: Go inside the workspace of your project

Right inside the window execute git bash here:

git branch --set-upstream-to=origin/dev master

(Default on from master to cut the dev branch)

3: We could look at the project pull time, it has become the default branch from dev pull the

 

 

 

 

Guess you like

Origin blog.csdn.net/sgl520lxl/article/details/88425324