how to see branches in my remote origin?
I have two remote origins for my project. I did like this when I already have one origin
git remote add github https://github.com/iincube/Commuter.git
then my project have two remote origins like this
github https://github.com/iincube/Commuter.git (fetch)
github https://github.com/iincube/Commuter.git (push)
- How to remove file from Git history?
- Git merging master to branch - conflicts (coming from Subversion background)
- Git + Jenkins - build on main master branch throws “fatal: reference is not a tree”
- Heroku push is being rejected, after reinstallation of OS?
- Proper workflow using git and github
- How can I make a Jenkins build for a GitHub repository be triggered by a push to a different repository?
origin https://github.com/iincube/SafetraxApp.git (fetch)
origin https://github.com/iincube/SafetraxApp.git (push)
now if I am doing $git branch I can see only one remote branches only.
How can I see both remote branches?
2 Solutions collect form web for “how to see branches in my remote origin?”
Try to run the following command:
git branch -r
Can you try this command:
git branch --all