Some of my git aliases that I have created
I tried not to repeat anything that may already be out there
# remove files that are not under version control alias gcf="git clean -f" # discard changes in the working directory alias gcod="git checkout -- ." # grab the latest upstream version alias gpum="git pull upstream master" # delete branch from github. follow with branch name alias gpod="git push origin --delete" # show git status without untracked files alias gsu="git status -uno"