dwyl / process-handbook

:green_book: Contains our processes, questions and journey to creating a team
GNU General Public License v2.0
76 stars 10 forks source link

See history of a git project #147

Open SimonLab opened 5 years ago

SimonLab commented 5 years ago

On the section "ask to see the client project" we can add another point on how to see the history of a git project with the git log command. This command can takes a few interesting options (eg oneline, graph) which can help to discover and have a global view of the project.

SimonLab commented 5 years ago

git log

image

git log --oneline image

git log --oneline --graph image

git log --oneline --merges --first-parent master image

git log --online --merges --first-parent master | wc -l image

rub1e commented 5 years ago

https://www.npmjs.com/package/git-file-history

Of interest?

SimonLab commented 5 years ago

thanks for the link @rub1e :+1: git-file-history looks fancy.

However for this I'd like to avoid installing another npm package and get the overview of a project with just a few command lines