I am a tester and have limited knowledge about Git. I have cloned a project to create local repository. When I have to get changes for last 'x' days,
I run git pull
followed by git diff '@{ x days ago}'
.
Now I want to get changes in developers branch. So I have cloned his branch in another repository using git clone -b dev_branch <url>
. How can I get his diffs for last x days?
Also comment about doing the both tasks in same repository.
Thanks