Frontend interview questions
Frontendinterviewquestions.com
About Us
About Us

What command is used to see the list of all branches of a repo in git

To see local branches, run this command:

git branch

To see remote branches, run this command:

git branch -r

To see all local and remote branches, run this command:

git branch -a

Other Important Topics
Top Git Interview Questions And Answers (2023)
Top Typescript Interview Questions And Answers (2023)
Top JavaScript Coding Interview Questions And Answers (2023)
Related questions
Difference between observable and a promise
How to create custom pipe in Angular
How to define a class in JavaScript
Given an integer array, find the subarray with the largest sum, and return its sum
Front End Developer Interview Questions for Freshers
Front End Developer Interview Questions For 3 Years Of Experience
Front End Developer Interview Questions For 5 Years Of Experience
Top 90+ Angular Interview Questions And Answers
Top 20+ HTML5 Interview Questions And Answers
Top 30+ CSS Interview Questions And Answers
Top 100+ Javascript Interview Questions And Answers
© 2023 frontendinterviewquestions.com
Privacy PolicyDisclaimerContact Us