How to read source code using git? -
i downloaded source code github. want read program though out initial commits last 1 step step. possible read ver.1 first read ver.2 , on.. using git ?
you can use git log list of commits. if want read complete code @ each revision can pass hash git checkout checkout revision , poke around; if want see changes can use git show. recommend using client latter case though, tig, let step through each commit , see changes:
Comments
Post a Comment