Created
July 16, 2021 00:26
-
-
Save forrestwilkins/c4114f18e3a22c26ad7bb0a9439b9f31 to your computer and use it in GitHub Desktop.
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
# Git | |
alias commit='git commit -m' #'sh bin/bash/commit.sh' | |
alias revert='sh bin/bash/revert.sh' | |
alias pull='git pull' | |
alias push='git push' | |
alias clone='git clone' | |
alias git_reset='git reset --hard origin/master && git pull origin master' | |
alias checkout='git checkout' | |
alias main='checkout main && pull' | |
alias add='git add' | |
alias restore='git restore --staged' | |
alias status='git status' | |
alias statys='status' | |
alias addall='git add . && status' | |
alias addall_no_npm='addall && remove package-lock.json && remove package.json && status' | |
alias checkout_npm='checkout package-lock.json && checkout package.json && status' | |
alias rebase='git rebase -i' | |
alias upstream='git push --set-upstream origin' | |
alias restore='git restore .' | |
alias diff='git diff' | |
# React and Node | |
alias watch='npm run watch' | |
alias prisma_migrate='yarn prisma migrate dev --preview-feature' | |
alias prisma_generate='yarn prisma generate' | |
alias prisma_reset='yarn prisma migrate reset --preview-feature' | |
alias lint='yarn lint' | |
alias test='yarn test' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment