Skip to content

Find what files changed in a pushed commit? #25170

Answered by weide-zhou
frigid-dev asked this question in Actions
Discussion options

You must be logged in to vote

Please use below command to get the changed files in the push commit, please refer to this link for more details.

git diff-tree --no-commit-id --name-only -r ${{ github.sha }}

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants