mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-03-26 14:26:10 +01:00
Improved list-commits.ps1
This commit is contained in:
parent
71d4dff132
commit
026b81cb9a
@ -21,7 +21,7 @@ try {
|
||||
if ($lastExitCode -ne "0") { throw "'git fetch --all --recurse-submodules' failed" }
|
||||
|
||||
if ($Format -eq "compact") {
|
||||
& git log --pretty=format:'%Cred%h%Creset %C(yellow)%d%Creset %s %C(bold blue)by %an %cr%Creset' --abbrev-commit
|
||||
& git log --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %C(bold blue)by %an %cr%Creset' --abbrev-commit
|
||||
} else {
|
||||
& git log
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user