The Computer Oracle

Find all files Added by git user

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Over Ancient Waters Looping

--

Chapters
00:00 Find All Files Added By Git User
00:14 Answer 1 Score 3
00:25 Accepted Answer Score 15
00:36 Answer 3 Score 2
00:54 Thank you

--

Full question
https://superuser.com/questions/309630/f...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#git

#avk47



ACCEPTED ANSWER

Score 15


git whatchanged --author="author regexp" --diff-filter=A --no-commit-id --name-only

Better methods are likely to be available.




ANSWER 2

Score 3


Try to use below command:

 git whatchanged --diff-filter=A --author=AUTHOR --pretty=format:%an | awk '{print $6}'



ANSWER 3

Score 2


According to the current documentation (v2.41.0), new users are encouraged to use git-log instead of git-whatchanged.

Here's the modified version of the originally accepted answer from 12 years ago:

git log --author=AUTHOR --format="" --diff-filter=A --name-only --no-commit-id