Posts

Git: Diff by date

Freitag, 23. April 2021, 09:53 Uhr | roberto@vasquez-angel.de |

You can get a diff of your repo comparing now and the code at a moment in the past:

# Compares the actual code with the code from two days ago
git diff 'HEAD@{2 days ago}' HEAD