Languages
[Edit]
EN

Git - list all local and remote branches

1 points
Created by:
Indira
319

In this article, we would like to show you how to list all local and remote branches using Git Bash.

Quick solution:

git branch -a

 

Practical example

In this example, we list all local and remote branches of our project.

git branch -a

result:

Git - list all local and remote branches
Git - list all local and remote branches

Note:

Branch feature_tasks represents the current branch.

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join