Skip to content

Commit

Permalink
git: Add some aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
rafamadriz committed Apr 30, 2023
1 parent 9db453a commit 9cac982
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion private_dot_config/git/config.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
editor = nvim

[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
dlg = log -p --cc --graph --decorate
wtf = log --pretty=format:"%C(auto,yellow)%h%C(auto)%d%C(auto,reset)\\ by\\ %C(auto,blue)%an%C(auto,reset),\\ %C(auto,cyan)%ar%C(auto,reset)%n\\ %s%n" --stat
ls = ls-files
sw = switch
tree = log --all --graph --decorate --oneline --simplify-by-decoration

[merge]
conflictstyle = diff3
Expand Down

0 comments on commit 9cac982

Please sign in to comment.