Last active
June 11, 2021 11:28
-
-
Save ejke/bda3ad52ba347347224f8180655fd79a to your computer and use it in GitHub Desktop.
Git Aliases to get yourself more time.
This file contains 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
# Put the following into your ~/.bash_profile file (Mac) or ~/.bashrc file (Ubuntu) | |
# Enables to use shortcuts for most common git commands. | |
# ---------------------- | |
# Git Aliases | |
# ---------------------- | |
alias gf='git status' | |
alias gb='git branch' | |
alias gbn='git checkout' | |
alias gbnb='git checkout -b' | |
alias gd='git diff' | |
alias gp='git pull' | |
alias gpom='git pull origin master' | |
alias gpo='git pull origin' | |
alias ga='git add' | |
alias gfd='git commit -m' | |
alias gpooo='git push origin' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment