コマンドの出力がありますgit branch -av
。今、私はdev
枝にいます。
***dev** 3f126e0 Comment...
master 7a47db8 Another comment...
remotes/origin/HEAD -> origin/master
remotes/origin/dev 3f126e0 Comment...
remotes/origin/master 7a47db8 Another comment...
Scott Checkon 著の Pro Git という本から。
How does Git know what branch you’re currently on? It keeps a special pointer called HEAD.
がオンのときにがHEAD
指すのはなぜですか?origin/master
dev