mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-04 14:30:42 +02: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 ($lastExitCode -ne "0") { throw "'git fetch --all --recurse-submodules' failed" }
|
||||||
|
|
||||||
if ($Format -eq "compact") {
|
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 {
|
} else {
|
||||||
& git log
|
& git log
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user