Share & learn

Through Innovative Digital Library

how to list remote branches in git.

Can someone please share command to display remote branches in git.
 



Answers

Posted by rocky on April 8th 2018 18:36 PM

You can run below commands to get branches information, you can also use --all options to get local and remote branches information.

git branch --all

git branch 
-r

git branch 
---list

git remote show origin

git remote show git
@github.com:amitkumar358/NewOne.git
Answer Question

Your email address will not be published. Required fields are marked *

  • Minimum 20 character
F8JU

related questions

Most liked questions

Most answered questions

Login
F8JU Refresh
Register
F8JU Refresh
Forgot password
Ask a Question
Minimum 20 character
Minimum 20 character
Reply
Minimum 20 character
F8JU Refresh