Where does Git store remote tracking branches

后端 未结 2 718
自闭症患者
自闭症患者 2020-12-09 21:17

I have to Git repos repo1 and repo2. There are three branches master, alpha and beta in repo1.

2条回答
  •  半阙折子戏
    2020-12-09 22:07

    The information is in .git/config and is updated by tools like git remote when you add or modify remotes. There is a manual page on git-config. If you search for "tracking branches" you'll see details of how they are configured.

提交回复
热议问题