1

I'm looking for a way to find the actual lines of code added or changed since a date using git diff or another Git command. Is this possible?

Currently with git diff I'm just getting the list of commits since that day but I'd like to be able to extract the actual code changed or added.

Simon
  • 1,643
  • 7
  • 30
  • 61

1 Answers1

2

Using GitHub, you can quickly compare the current state with another one, a few days ago, accessing this URL :

https://github.com/USER/REPO/compare/master@{1month}...master

Using git command, and following this answer, you can use :

git whatchanged --since="1 month ago" -p
Community
  • 1
  • 1
zessx
  • 68,042
  • 28
  • 135
  • 158