git - How to download different versions of a repository's snapshots from GitHub? -
i want analyze , format report on changes made through entire versions of java specific repository.
but i'm not able find older versions of repository, i.e snapshots, may compare them latest commit , analyze changes made.
edit: want compare snapshots using netbeans ide.
when clone git repository, you snapshots/commits repository, default. clone local repo so:
git clone <url-or-path-to-remote-repo>
you can compare different snapshots/commits/tags using git diff
git diff <commit1> <commit2> git diff <tag1> <tag2> git diff <tag1> <commit2> # etc...
alternatively, can switch particular tag , files matching version. repository's snapshots of need :
git checkout <tag1> git checkout <commit2>
Comments
Post a Comment