show commits since branch creation

后端 未结 7 879
伪装坚强ぢ
伪装坚强ぢ 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条回答
  •  萌比男神i
    2020-12-12 18:18

    This command worked nicely for me. I was interesting in seeing only the names of the files that changed in the delta of commits between a beginning and an ending ref,

     git log --no-merges --pretty=oneline --name-only ..
    

    which gives output like this,

     
    foo.txtr
    bar.txt
    

提交回复
热议问题