Git bifurcation problem

Why is the remote end of the branch I created not shown?

clipboard.png

Git
May.02,2022

if you don't upload it to the remote, he won't display it remotely.
after you execute the following command in test_step, you will send the newly created local branch push to the remote
git push-- set-upstream origin test_step
and then submit the code directly with
git push .


git pull 
git branch
git checkout xxxx

git branch-a lists local branches and remote branches;
here remote branches refer to locally saved remote tracking branches;

you can update the local remote tracking branch through git fetch , which is consistent with the remote branch.

Menu