show commits since branch creation

后端 未结 7 864
伪装坚强ぢ
伪装坚强ぢ 2020-12-12 17:44

Is there a way to see with git log or some other command only the commits that were added after branch creation?

usage: git log [         


        
7条回答
  •  [愿得一人]
    2020-12-12 18:30

    Yes it's possible to compare your "new" branch with the master branch (commonly named : "master"):

    git log master..
    

    Of course, replace .

提交回复
热议问题