Fix example image paths

This commit is contained in:
James Skemp 2022-09-14 23:25:38 -05:00
parent 2216c41dbc
commit c34ce37415
1 changed files with 10 additions and 10 deletions

View File

@ -1,37 +1,37 @@
# Log output examples
`git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'`
![Example 1](./logging/example1.png)
![Example 1](./example1.png)
`git log --graph --date=short --pretty=format:'%C(yellow)%h%C(reset) %C(green)%ad%C(reset) %C(red)|%C(reset) %s %C(bold blue)[%an]%C(reset)%C(yellow)%d%C(reset)'`
![Example 2](./logging/example2.png)
![Example 2](./example2.png)
`git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen%cn%Creset %Cblue(%cr)%Creset' --abbrev-commit --date=relative`
![Example 3](./logging/example3.png)
![Example 3](./example3.png)
`git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit`
![Example 4](./logging/example4.png)
![Example 4](./example4.png)
`git log --graph --pretty=format:'%C(auto)%h%Creset - %d%s %Cgreen(%cr) %C(bold magenta)<%an>%Creset'`
![Example 5](./logging/example5.png)
![Example 5](./example5.png)
`git log --decorate --graph --abbrev-commit --date=relative`
![Example 6](./logging/example6.png)
![Example 6](./example6.png)
`git log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'`
![Example 7](./logging/example7.png)
![Example 7](./example7.png)
## Aliases
These log formats are ones that I've used quite a bit in the past, so I've set these as [Aliases](../example/aliases.md).
### lg1
`git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all`
![Example lg1](./logging/example-lg1.png)
![Example lg1](./example-lg1.png)
### lg2
`git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all`
![Example lg2](./logging/example-lg2.png)
![Example lg2](./example-lg2.png)
### lg3
`git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset) %C(bold cyan)(committed: %cD)%C(reset) %C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)' --all`
![Example lg3](./logging/example-lg3.png)
![Example lg3](./example-lg3.png)