Created
May 27, 2019 09:08
-
-
Save ooade/60cd02af9c6e62f75fdf93f4160ae191 to your computer and use it in GitHub Desktop.
Bash Aliases
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
# Add each alias on separate lines | |
# Git Aliases | |
alias gac="git add . && git commit -m" #Add all and commit | |
alias gcb="git checkout -b" #Check out to a specific branch | |
alias gp="git push origin HEAD" #Push commits to the current HEAD | |
alias gpom="git push origin master" #Push commits to master branch | |
alias gl="git pull" #Pull commits; Origin and Branch should be specified | |
alias glom="git pull origin master" #Pull the master branch | |
alias gri="git rebase -i" #Interactive rebase; Specify HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment