2012年10月25日 星期四

git 命令列模式顯示 git tree


網址:
http://stackoverflow.com/questions/1527234/finding-a-branch-point-with-git

摘錄:
git log --graph --oneline --all
which shows (assuming git config --global color.ui auto):
enter image description here
Or, in straight text:

*   a9546a2 merge from topic back to master
|\  
| *   648ca35 merging master onto topic
| |\  
| * | 132ee2a first commit on topic branch
* | | e7c863d commit on master after master was merged to topic
| |/  
|/|   
* | 37ad159 post-branch commit on master
|/  
* 6aafd7f second commit on master before branching
* 4112403 initial commit on master

沒有留言:

張貼留言