by Devin Yang
(This article was automatically translated.)

Published - 2 years ago ( Updated - 2 years ago )

There are two commands here, which can quickly list all commits of yourself or others

single line

git log --author devin --oneline

File name containing commit

git log --author devin --name-only

Tags: git

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


git

Through the Git attribute, different codes such as big5 and gb2312 are normally displayed at the same time during diff

The problem of garbled characters in different Chinese encodings, here is an example, for example, what will be displayed when there are three php files with different encodings at the same time. Let's look at the results directly through git log -p, and we will find that there are unintelligible garbled characters....

git

Forcibly clear all data in the remote repo

Forcibly clear all data in the remote repo

git

Display your own version control through the git command, for example, within 7 days?

How to display your own version control through git commands? These commands are for reference only, at least the author name should be changed. --author parameter, can also be mailbox