Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Use this command to set an alias
- # Then 'git lg' will display your git branches
- # Use 'git lg -p' to display commit changes
- git config --global alias.lg log --color --graph --pretty=format:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all
Add Comment
Please, Sign In to add comment