How do I run git log to see changes only for a specific branch?

前端 未结 6 946
不思量自难忘°
不思量自难忘° 2020-12-04 04:30

I have a local branch tracking the remote/master branch. After running git-pull and git-log, the log will show all commits in the remote tracking b

6条回答
  •  伪装坚强ぢ
    2020-12-04 04:54

    If you want only those commits which are done by you in a particular branch, use the below command.

    git log branch_name --author='Dyaniyal'
    

提交回复
热议问题