Created
May 8, 2023 02:55
-
-
Save usmanity/1c669b1123ec78c2139b37b01fd8c732 to your computer and use it in GitHub Desktop.
list of my currently used aliases
This file contains hidden or 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
# git shortcuts | |
alias g=git | |
alias gst='git status' | |
alias ggpush='git push origin $(git rev-parse --abbrev-ref HEAD)' | |
alias ggpull='git pull origin $(git rev-parse --abbrev-ref HEAD)' | |
alias pull='ggpull' | |
alias pul='ggpull' | |
alias ggpnp='ggpull && ggpush' | |
alias gco="git checkout" | |
alias gc-='git checkout -' | |
alias gb='git checkout -b' | |
alias commit='git commit -am' | |
alias copybranch='git branch --show-current | pbcopy' | |
alias nrw='npm run watch' | |
alias yd='yarn dev' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment