0

Is it possible to download source code from a github public project before a define commit. There is one project structure of which I want to get but it will be easier to understand it commit by commit. I can see it, but I want to download and test step by step.

FOUND: How to get certain commit from GitHub project

Community
  • 1
  • 1
pvllnspk
  • 5,667
  • 12
  • 59
  • 97

1 Answers1

0

Once you clone the repository, you can do git log to see a list of all commits on the master branch and then git checkout <SHA1> to move to any commit where <SHA1> is the string of characters on lines such as

commit 04ff4a3216988821fa69e679d105346f179e9c7d
Michael Mior
  • 28,107
  • 9
  • 89
  • 113