Git branch named origin/HEAD -> origin/master

前端 未结 3 402
轻奢々
轻奢々 2021-01-30 08:40

I\'m fairly new to Git, and still getting the hang of it. I just recently started working with branches and am running into some questions.

I have two development system

3条回答
  •  星月不相逢
    2021-01-30 09:28

    It is just a pointer to master, a symbolic link if you wish. You can safely delete it by doing the following in a terminal (or git bash/cygwin for windows users):

    1. navigate to your repository
    2. execute: git remote set-head origin -d

    now it should be gone:

    $ git branch -r
    origin/master
    

提交回复
热议问题