I was going to write a new function code in two branches and subsequently forget the writing to the next one branch, how to fix it back?
Then perform the following operations it ~ ~
1. First, confirm the current branch
git checkout
2. Then switch directly branch
Yes, you read right, and do not doubt ~~
git checkout two
3. Start to submit work
After switching to two branches, the first query status, and then submit the code at one go ~~
1. git status
2. git add .
3. git commit -m "备注"
4. git push 或 git push -u origin two
As a result, your code just under two branches of the ~ ~
if wrong, please correct me