Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

getting all git branches in cmd code example

Example 1: git branch list

git branch -a 	#all local and remote branches are listed
git branch -r 	#remote branches are listed
git branch 		#only local branches are listed

Example 2: get all branches git

$ git branch -a. If you require only listing the remote branches from Git Bash then use this command:
$ git branch -r. You may also use the show-branch command for seeing the branches and their commits as follows:
$ git show-branch.

Tags:

Shell Example

Related

change the color of a text in html code example html enable smooth scrolling code example which of the following is not a valid method on event emitters code example centering div vertically and horizontally code example jquery check if html is empty code example git desktop application code example flutter firebase push notification ios fireship code example layer in layermask unity code example HOW to make a foreign key oracle code example how to add exception for not passing token in laravel code example delete item from git stash code example Error: NG0100: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. code example

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy