0

I would like to know if there is a way using either the GitHub or GitLab (Preferably the latter) API's to get commits by user? e.g To retrieve the last commit made by a user.

1

1 Answer 1

1

git log --author="that user"

--author Only show commits in which the author entry matches the specified string.

https://git-scm.com/book/ch2-3.html

http://dymitruk.com/blog/2012/07/18/filtering-by-author-name/

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.