setups/alias/git_alias

10 lines
360 B
Plaintext
Raw Permalink Normal View History

2020-07-31 19:41:23 +02:00
# Requires git to be installed
alias gitun="git reset HEAD"
alias gitadd="git add -p"
alias gits="git switch"
alias gitsb="git switch -"
alias gitc="git commit -S"
2020-11-24 11:58:31 +01:00
alias gitp="git push"
alias gitr="git rebase -i -S"
2020-07-31 19:41:23 +02:00
alias glg='git log --graph --pretty=format:"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset" --abbrev-commit'