better-git-log.sh
· 244 B · Bash
Исходник
#!/bin/bash
## Run the command below to create alias 'git lg'
git config --global alias.lg "log --color --graph --date-order \
--pretty=format:'%w(120,0,45)%>|(20)%Cred%h%Creset - %Cgreen(%cr)%Creset %C(bold blue)<%an>%C(yellow)%d%Creset %s'"
| 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'" |