List of remotes for a Git repository?

后端 未结 6 1486
攒了一身酷
攒了一身酷 2020-12-07 07:07

I have a Git repository. This repository has multiple remote repositories (I think). How can I get a list of the remote repositories that belong to said repository?

6条回答
  •  星月不相逢
    2020-12-07 07:27

    A simple way to see remote branches is:

    git branch -r
    

    To see local branches:

    git branch -l
    

提交回复
热议问题