Skip to content

Instantly share code, notes, and snippets.

@Jatin-8898
Created April 6, 2019 07:03
Show Gist options
  • Save Jatin-8898/bb0a76ed669e2202055df35a2ec0762b to your computer and use it in GitHub Desktop.
Save Jatin-8898/bb0a76ed669e2202055df35a2ec0762b to your computer and use it in GitHub Desktop.
My alias for Git Bash on Windows 10
# ----------------------
# Git Command Aliases
# ----------------------
alias ga='git add'
alias gaa='git add .'
alias gaaa='git add --all'
alias gc='git commit -m'
alias gs='git status'
alias gr='git remote add origin'
alias gp='git push origin master'
alias gpu='git pull origin master'
# ----------------------
# Cd commands
# ----------------------
alias ls='ls -alh'
alias cdhtdocs='cd /c/xampp/htdocs'
alias mydocs='cd ~/Documents'
alias cdjava='cd /c/Users/varly/OneDrive/Desktop/JAVA'
alias cdpy='cd /c/Users/varly/OneDrive/Desktop/PYTHON'
alias cddown='cd ~/Downloads'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment