Skip to content

Instantly share code, notes, and snippets.

@gdomiciano
Created August 31, 2020 18:22
Show Gist options
  • Save gdomiciano/65821a55bceb16767677329f0961f0e0 to your computer and use it in GitHub Desktop.
Save gdomiciano/65821a55bceb16767677329f0961f0e0 to your computer and use it in GitHub Desktop.
Bash Aliases
# Project aliases
alias proj="cd && cd c:/ && cd Projects"
alias repo="cd && cd c:/ && cd Projects/repo"
# Git aliases
alias st="git status"
alias add="git add "
alias gb="git branch "
alias com="git commit -am"
alias merge="git merge "
alias gd="git diff"
alias go="git checkout "
alias gk="gitk --all&"
alias gx="gitx --all"
alias got="git "
alias get="git "
alias gti="git "
alias gir="git "
alias fetch="git fetch "
alias pull="git pull origin "
alias push="git push origin "
alias fat="git checkout ."
alias delbranch="git push origin -d "
alias new="git checkout -b "
alias back="git checkout -"
# Terminal Aliases
alias cls="clear"
alias editbash="notepad c:/users/<YOUR-USERNAME>/.bashrc"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment