Last active
November 8, 2019 12:22
-
-
Save piojanu/1e1f52796e664c76671fa2560a4bd074 to your computer and use it in GitHub Desktop.
Bash aliases
This file contains hidden or 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
alias p='python' | |
alias p3='python3' | |
alias ga='git add' | |
alias gci='git commit -m' | |
alias gcia='git commit -am' | |
alias gco='git checkout' | |
alias gh="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'" | |
alias gs='git status' | |
alias ll='ls -lGFha --color=auto' | |
alias ls='ls -GFh --color=auto' | |
alias ds='du -h --max-depth=1' | |
alias targz='tar -czvf' | |
alias untargz='tar -xzvf' | |
function md { | |
mkdir -p $1 | |
cd $1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment