Deleted remote branches still listed in TortoiseGit

后端 未结 4 1862
不思量自难忘°
不思量自难忘° 2021-02-05 01:24

I have noticed TortoiseGit seems to contain every feature branch I ever created, both in drop-downs for local branches AND remote, even though many of the remote branches were d

4条回答
  •  既然无缘
    2021-02-05 02:29

    To the last question, I believe that's an aspect of being "distributed". While local repo and remote repo may share contents to each other, they exist independently.

    In practice this design may prevent trouble. If fetch completely reflects changes of "local branch in remote repo" to "remote branch in local repo", and someone removed a branch in remote repo, we will lose one local pointer of some commit (maybe the last one).

提交回复
热议问题