Yanor.net/
Wiki
Blog
GitHub
Sandbox
開始行:
* 親ブランチ(ブランチ分岐点)を確認 [#uc676db5]
git show-branch topic master
または git show-branch --sha1-name topic master
! [master] D
* [topic] C
--
+ [master] D
* [topic] C
* [topic^] B
+* [master^] A
^^^
最後の行コミットAが分岐点
- 上のコマンドにより、masterブランチとtopicブランチが分岐...
- したがって、分岐点は最後の行「 +* [master^] A」、コミッ...
- この出力結果のより詳しい見方は、*がついているコミットが...
- より多くのブランチを指定可能で、ブランチごとに*と!のイ...
** 参考 [#u8b3383e]
- http://qa.atmarkit.co.jp/q/2148
- https://git-scm.com/docs/git-show-branch
終了行:
* 親ブランチ(ブランチ分岐点)を確認 [#uc676db5]
git show-branch topic master
または git show-branch --sha1-name topic master
! [master] D
* [topic] C
--
+ [master] D
* [topic] C
* [topic^] B
+* [master^] A
^^^
最後の行コミットAが分岐点
- 上のコマンドにより、masterブランチとtopicブランチが分岐...
- したがって、分岐点は最後の行「 +* [master^] A」、コミッ...
- この出力結果のより詳しい見方は、*がついているコミットが...
- より多くのブランチを指定可能で、ブランチごとに*と!のイ...
** 参考 [#u8b3383e]
- http://qa.atmarkit.co.jp/q/2148
- https://git-scm.com/docs/git-show-branch
ページ名: