-
-
Save steph-vie/7df43d288442993d5aed7ff6ada2bc82 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Git | |
alias gitc="git commit -m $1" | |
alias gc="git commit -m $1" | |
alias gita="git add" | |
alias ga="git add" | |
alias gits="git status" | |
alias gitd="git diff" | |
alias gitb="git branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate" | |
alias gb="git branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate" | |
alias gitch="git checkout" | |
alias gitchb="git checkout -b" | |
alias gitcl="git clone" | |
alias gitpu="git pull" | |
alias gpull="git pull" | |
alias gitp="git push" | |
alias gp="git push" | |
alias gpush="git push" | |
# Shortcuts | |
alias lab="cd ~/lab" | |
alias l='ls -lah' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment