I\'ve tried git branch -r, but that only lists remote branches that I\'ve tracked locally. How do I find the list o开发者_运维问答f those that I haven\'t? (It doesn\'t matter to me whether the command
I\'ve a master branch with a .gitignore file with directory X listed in it. (X is not being tracked).
I need to delete old and unmaintained branches from our remote repository. I\'m trying to find a way with which to list the remote branches b开发者_如何学Goy their last modified date, and I can\'t.
Somebody pushed a branch called test with git push origin test to a shared repository. I can see the branch with git branch -r. How do I check out the remote test branch? I\'ve tried: