Skip to content

Commit 2a561f1

Browse files
author
Mathieu Buisson
committed
Add alias function for 'git log' command
1 parent 04ad2a3 commit 2a561f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Microsoft.PowerShell_profile.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,6 @@ function ga {
103103
function gst {
104104
& git status
105105
}
106+
function glp {
107+
& git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %C(bold green)(%cr) %C(bold yellow)<%an>%Creset' --abbrev-commit
108+
}

0 commit comments

Comments
 (0)