I've tried git branch -r
, but that only lists remote branches that I've tracked locally. How do I find the list of those that I haven't? (It doesn't matter to me whether the command lists all remote branches or only those that are untracked.)
相关问题
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
- Emacs shell: save commit message
- Can I organize Git submodules in a flat hierarchy?
- Upload file > 25 MB on Github
相关文章
- 请教Git如何克隆本地库?
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
- Is there a version control system abstraction for
- ssh: Could not resolve hostname git: Name or servi
- Cannot commit changes with gitextensions
- git: retry if http request failed
With GitBash, you Can use:
remote show
shows all the branches on the remote, including those that are not tracked locally and even those that have not yet been fetched.It also tries to show the status of the branches relative to your local repo:
Make sure that the remote origin you are listing is really the repository that you want and not an older clone.
But
git branch -ar
should do it.
Using this Command,
List all remote branches including commit messages,commit Id that are referred by remote branches.