Idea creates other branches on the main branch and synchronizes them.

 

Preface: First, you must know what the above ( idea version is 2021.1.3 , git branch section in the lower right corner) means.

 local Branches local branches represent the local branches that exist under the current project path. There are three of the above, all of which exist in the local warehouse.

Remote Branches remote branches represent all remote branches of this project. Push is to synchronize local code to remote branches.

The label shape in the picture above represents the branch where the current code is located, which is currently on the nanlian branch.

Steps:

1. Click New Branch above to create a new branch

2. Then click push above to submit the local branch to the remote warehouse

Guess you like

Origin blog.csdn.net/qq_40453972/article/details/130295078