How do I find out which remote git branch I checked out? -
git checkout origin/some_remote_branch ... > in 'detached head' state....
how later find out checked out?
one simple command: git status
$ git status on branch master branch up-to-date 'origin/master'.
in case of detached head, you'll message:
$ git status head detached @ origin/master
git
No comments:
Post a Comment