Update logging with directory name search

This commit is contained in:
James Skemp 2019-07-12 16:27:58 +00:00
parent 445f332677
commit 107d32000e
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@ git log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an
# View commits that touched a file.
git log --full-history -- <file>
# View commits that touched a directory.
git log --full-history -- *\<directory-name>\*
# View commits that touched a directory.
git log <directory-path>
git log --pretty=oneline <directory-path>