Last active
April 18, 2017 20:01
-
-
Save toidiu/589aa49c7ade94f051fa2a6a0578fb52 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
### Aliases | |
### General | |
alias l="ls -al" | |
alias cc="clear" | |
alias xx="exit" | |
alias ..="cd ..;pwd;ls -a" | |
alias pp="pwd" | |
alias brc="vi ~/.bashrc" | |
alias sc="source ~/ENV_django/bin/activate" | |
alias pyserve="ipconfig getifaddr en0; python -m SimpleHTTPServer 8000" | |
### GIT Aliases | |
alias gs="git status" | |
alias gc="git commit" | |
alias ga="git add" | |
alias gl="git log --color" | |
alias gitlg="git log -p --color" | |
alias gitl="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit" | |
alias gb="git branch" | |
alias gd="git diff --color" | |
alias gp="git pull; git fetch --all --prune" | |
alias gpp="git push; git push origin --tags" | |
alias gpr="git branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs git branch -d" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment