Created
December 4, 2021 10:38
-
-
Save rafsanjani/17b810f4240efbe716f010d47f7dd0dc to your computer and use it in GitHub Desktop.
My most used terminal commands, converted into 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
alias pull="echo \"git pull\" && git pull" | |
alias stash="echo \"git stash\" && git stash" | |
alias stashd="echo \"git stash && git stash drop\" && git stash && git stash drop" | |
alias push="echo \"git push\" && git push" | |
alias mirror="echo \"scrcpy --stay-awake\" && scrcpy --stay-awake" | |
alias rebase1="echo \"git rebase -i HEAD~1\" && git rebase -i HEAD~1" | |
alias rebase2="echo \"git rebase -i HEAD~2\" && git rebase -i HEAD~2" | |
alias rebase3="echo \"git rebase -i HEAD~3\" && git rebase -i HEAD~3" | |
alias rebase4="echo \"git rebase -i HEAD~4\" && git rebase -i HEAD~4" | |
alias rebase5="echo \"git rebase -i HEAD~5\" && git rebase -i HEAD~5" | |
alias rebase6="echo \"git rebase -i HEAD~6\" && git rebase -i HEAD~6" | |
alias amend="echo \"git commit --amend --no-edit\" && git commit --amend --no-edit" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment