alias batman="sudo apt-get update -y && sudo apt-get dist-upgrade -y && sudo apt-get autoremove -y"
alias gs="git status"
alias ga="git add ."
alias gc="git commit -m"
alias gp="git pull"
alias gpp="git push"
alias gpo="git push origin"
alias gin="git init"
alias gkm="git checkout master"
alias gkb="git checkout -b"
alias gk="git checkout"
alias oops="git reset --hard"
alias gf="git fetch"
alias bgo="source ~/.bash_profile"
alias bpro="atom ~/.bash_profile"
Linux example if using Atom: atom ~/.bashrc
OSX example if using Atom: atom ~/.bash_profile
remove the batman alias on OSX as it will not work on OSX
Paste the aliases in and save. (Cmd + S on OSX
) (Ctrl + S on Linux
)
Once you are done pasting that in, and saving it, run: source ~/.bashrc
on Linux, and source ~/.bash_profile
on OSX.