Category: Logging

0

List the commits that changed a file

Lets say you deleted a file in your branch and you later real­ize that you need it back. If you remem­ber the file path + file­name, you can eas­ily check which was the last…

0

Show the files changed in a git commit

While the git log com­mand by itself is good enough to the com­mit hash and see the com­mit mes­sage, some­times it helps to see which files were mod­fied as part of a com­mit. You…