git - Deleting remote branches? -


When I run GIT branch- a, it prints like this, for example:

  
  1. What does the branch _a mean?
  2. What does the remote / root / branch_a do? Indicate?
  3. How do I delete remotes / origin / branch_a?

    1. branch_a indicates that you have There is a local branch called branch_a .
    2. Remote / Basic / Branch_A indicates that you have a remote original name, and you branch_a Tracking the code within the original remote. It is not necessarily related to your own branch_a , but it probably does not say ( git branch -a ).
    3. Since Remotes / Basic / Branch_A is a remote tracking branch, if your own branch_a is set to track remote if not Removing the original remote should delete it, or you may only be able to git branch -d remotes / origin / branch_a .

Comments