Skip to content

List of commits in the selected repository #8

@ivarprudnikov

Description

@ivarprudnikov

Depends on (#3 )

List logged-in user commits in the selected repository. Use the token to query the Github REST API or Github graph API

In the shell script this is achieved by cloning the repo and running the log command https://github.com/ivarprudnikov/my_commit_history/blob/master/main.sh#L81-L84

git --git-dir=${FOLDER_NAME}/.git log --all --after=${SINCE} --author=${AUTHOR} --pretty=format:'%aD %ar, branch: %d message: %s'

which produces

Fri, 22 Feb 2019 18:56:51 +0000 3 days ago, branch:  (HEAD -> master, tag: 10.5.0, origin/master, origin/HEAD) message: #2 fix typo on homepage

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions