Git learning-VS2017 pull project and create branch

The premise Git has been installed.
1. Choose Git for the vs2017 code management tool, then open VS2017 to find the team explorer, and find the management connection, as shown in the figure:
Insert picture description here
2. Pull the project, click Clone, and fill in the Git address and the local project storage address, as shown in the figure: The
Insert picture description here
address is completed , Click Clone, and the project will be downloaded locally! You can view the current branch and project information in the lower right corner of VS, as shown in the figure:
Insert picture description here
3. Create a branch, VS branch in the lower right corner, right-click to create a new branch, as shown in the figure:
Insert picture description here
fill in the branch name and move out, as shown in the figure: After the
Insert picture description here
branch is successfully created, vs Right-click the push branch in the lower right corner, and the branch is created.
Note: You can click the lower right corner to switch the development branch during the development process.
4. Branch merge, click Branch -> Merge, select the branch to merge into the main branch, etc., as shown in the figure:
Insert picture description here
Push after merge, and the branch is merged!

Guess you like

Origin blog.csdn.net/weixin_41812784/article/details/112309080
Recommended