Yes, you can open two local branches and bind the two remote branches respectively, and you can switch between them when editing. If you find it troublesome to switch back and forth, you can also build two independent libraries locally for cloning.
The problem is solved. For safety, commit the local branch under development once and synchronize it; Build a branch on the web side, and then after the client flashes the branch, switch to the branch and delete the contents of the local folder. Copy the files that need to be maintained by the new branch to the original local folder, and synchronize them to the remote branch; When you need to operate the original branch, directly select the branch on the left side of the client change, wait a few seconds, and you will see The original files in the local folder are restored to the previously deleted files. When you need to switch to another branch, the same applies; Pay special attention to commit and synchronization before switching branches;
Yes, you can open two local branches and bind the two remote branches respectively, and you can switch between them when editing. If you find it troublesome to switch back and forth, you can also build two independent libraries locally for cloning.
Both branches have been pulled. It’s better to switch branches when editing. This may be a little more convenient for merging later
The problem is solved. For safety, commit the local branch under development once and synchronize it;
Build a branch on the web side, and then after the client flashes the branch, switch to the branch and delete the contents of the local folder. Copy the files that need to be maintained by the new branch to the original local folder, and synchronize them to the remote branch;
When you need to operate the original branch, directly select the branch on the left side of the client change, wait a few seconds, and you will see The original files in the local folder are restored to the previously deleted files. When you need to switch to another branch, the same applies;
Pay special attention to commit and synchronization before switching branches;