Pretty git log
This commit is contained in:
parent
1307e0dd9a
commit
626f977532
1 changed files with 3 additions and 0 deletions
3
.bashrc
3
.bashrc
|
|
@ -154,6 +154,9 @@ alias cgcc="colout :[0-9]+: yellow standard | colout error | colout warning mage
|
|||
# shortcut to display the url config of remote repo in a git root
|
||||
alias git_remotes="grep -A 2 \"\[remote\" .git/config|grep -v fetch|sed \"s/\[remote \\\"//\"|sed ':a;N;\$!ba;s/\"\]\n\s*url = /\t/g'"
|
||||
|
||||
# Pretty git log
|
||||
alias gitlog="git log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
|
||||
|
||||
|
||||
#################
|
||||
# Configuration #
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue