My git branch is showing 'origin/master' and 'origin/HEAD' in Sourcetree and I don't know how to merge the two

后端 未结 2 783
无人共我
无人共我 2021-02-18 22:58

I recently merged a branch I was working on with the \'master\' branch. I must have (still kind of a git n00b) done something when pushing or pulling that created both an

2条回答
  •  臣服心动
    2021-02-18 23:09

    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
    

提交回复
热议问题