如何查看远程源中的分支?

how to see branches in my remote origin?

我的项目有两个远程源。当我已经有一个起源时,我确实喜欢这个 git remote add github https://github.com/iincube/Commuter.git 那么我的项目有两个像这样的远程起源

github  https://github.com/iincube/Commuter.git (fetch)

git集线器https://github.com/iincube/Commuter.git(推送)

来源https://github.com/iincube/SafetraxApp.git(获取)

来源https://github.com/iincube/SafetraxApp.git(推送)

现在,如果我正在执行 $git 分支,我只能看到一个远程分支。 如何查看两个远程分支?

尝试运行以下命令:

git branch -r

你能试试这个命令吗:

git branch --all