process-handbook icon indicating copy to clipboard operation
process-handbook copied to clipboard

See history of a git project

Open SimonLab opened this issue 6 years ago • 3 comments

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 avatar Feb 27 '19 07:02 SimonLab

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

SimonLab avatar Feb 27 '19 07:02 SimonLab

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

Of interest?

rub1e avatar Feb 27 '19 09:02 rub1e

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

SimonLab avatar Feb 27 '19 10:02 SimonLab