is there any way to list all branches in google repo
?
I found it is very difficult to understand repo
. Here only provide very few commands which does not not provide a list branch mechanism.
is there any way to list all branches in google repo
?
I found it is very difficult to understand repo
. Here only provide very few commands which does not not provide a list branch mechanism.
@ Patrick Tsai
git --git-dir .repo/manifests.git/ branch -a
is git branch
not what you are looking for?
This lists all branches, e.g.:
branch_name_1
branch_name_2
*master
Note: The *
preceding a branch name denotes the current branch.
To switch branches use: git checkout branch_name_#