Jarno Rankinen revised this gist . Go to revision
2 files changed, 4 insertions, 5 deletions
better-git-log.sh(file created)
@@ -0,0 +1,4 @@ | |||
1 | + | #!/bin/bash | |
2 | + | ## Run the command below to create alias 'git lg' | |
3 | + | git config --global alias.lg "log --color --graph --date-order \ | |
4 | + | --pretty=format:'%w(120,0,45)%>|(20)%Cred%h%Creset - %Cgreen(%cr)%Creset %C(bold blue)<%an>%C(yellow)%d%Creset %s'" |
run-this.sh (file deleted)
@@ -1,5 +0,0 @@ | |||
1 | - | #!/bin/bash | |
2 | - | ## Run the command below to create alias 'git lg' | |
3 | - | git config --global alias.lg "log --color --graph \ | |
4 | - | --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' \ | |
5 | - | --abbrev-commit" |
Jarno Rankinen revised this gist . Go to revision
1 file changed, 5 insertions
run-this.sh(file created)
@@ -0,0 +1,5 @@ | |||
1 | + | #!/bin/bash | |
2 | + | ## Run the command below to create alias 'git lg' | |
3 | + | git config --global alias.lg "log --color --graph \ | |
4 | + | --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' \ | |
5 | + | --abbrev-commit" |