简体   繁体   中英

Visual Studio Git - HEAD & Master branch under remote/origin

I have not created local branch while making changes. I used master branch that gets created locally and made commit & sync changes after modifying few things.

Now, I see there are two branches that got created in remotes/origin, HEAD and master. Initially before doing this commit, I used to see only one ie master branch under remotes/origin. So, want to know ---

  1. what is HEAD branch for
  2. and whether I can delete it.
  3. And, was that created on the server as well.

HEAD is not a branch it is a reference or pointer to the most recent commit in the current branch.

Check out this post .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM