...
Use the following command to list all branches
Code Block |
---|
git branch -a |
Note: The branch: master is not the present locus of development – that 'branch' reflects the state of a tree that stayed in step with the former Avaya SVN tree. Almost certainly you wish to use: master which is the real "master" as of November 2010How to make branch master visible and be positioned on it
...
Code Block |
---|
[user@localhostsipxecs]$ git branch
* master
[user@localhostsipxecs]$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/master
remotes/origin/master
remotes/origin/release-4.2
[user@localhostsipxecs]$ git checkout -b master origin/master
Branch master set up to track remote branch master from origin.
Switched to a new branch 'master'
[user@localhostsipxecs]$ git status
# On branch master
nothing to commit (working directory clean)
[user@localhostsipxecs]$ git branch
master
* master
[user@localhostsipxecs]$
|
...