Type the following to git bash to show all changes:
git show COMMIT_NUMBER
To show difference between a specific file type:
git show COMMIT_NUMBER file_location/file_name
Type following to show file list changed on the commit:
git show COMMIT_NUMBER --name-status
Will output following:
M location/file_name (Modified)
A location/file_name (Added New)
git show COMMIT_NUMBER
To show difference between a specific file type:
git show COMMIT_NUMBER file_location/file_name
Type following to show file list changed on the commit:
git show COMMIT_NUMBER --name-status
Will output following:
M location/file_name (Modified)
A location/file_name (Added New)
No comments:
Post a Comment