Leopoldo
Leopoldo

Reputation: 835

How to check modifications in GIT repository during period of time

How can I see all modifications user has made on repository during a particular time period (e.g a month, or since 1st day of current month)? I need to see whole files before his modification and after his modification (not only the diff).

Upvotes: 3

Views: 2314

Answers (1)

Hani Alsioufi
Hani Alsioufi

Reputation: 167

There is a command to show all the commit logs history since the beginning in a branch

git log

after execting this command, you will find that each commit or log has commit id and Author with its date, copy the commit ID and right this command:

git show COMMIT_ID 

The command above will show the commit details by the author assigned to this commit id

Another solution it to write something like this:

git whatchanged --since '04/14/2013' --until '05/22/2014'

The code above it like git log however with filters (range)

Upvotes: 3

Related Questions