run-this.sh
· 228 B · Bash
Raw
#!/bin/bash
## Run the command below to create alias 'git lg'
git config --global alias.lg "log --color --graph \
--pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' \
--abbrev-commit"
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" |