Last active
October 13, 2020 07:48
-
-
Save rabajaj0509/5e22cb7fb290f23373ce54ee056b33db to your computer and use it in GitHub Desktop.
List of my shortcuts for everyday commands!
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
# User specific aliases and functions | |
# Git Aliases | |
alias ga='git add' | |
alias gb='git branch' | |
alias gcb='git checkout -b' | |
alias gco='git checkout' | |
alias gpf='git push -f origin' | |
alias gp='git push origin' | |
alias gc='git commit -m' | |
alias gca='git commit --amend' | |
alias gf='git fetch' | |
alias gd='git diff' | |
alias gdc='git diff --cached' | |
alias gs='git status' | |
alias gl='git log' | |
alias gr='git rebase -i' | |
# vagrant Aliases | |
alias vup='vagrant up' | |
alias vdown='vagrant halt' | |
alias vdestroy='vagrant destroy' | |
alias vssh='vagrant ssh' | |
alias vstatus='vagrant status' | |
#node Aliases | |
alias n='node' | |
# SSH related | |
alias pkey='cat ~/.ssh/id_rsa.pub' | |
alias mf='sshfs [email protected]:/home/vagrant/ /home/rabajaj/github/mount/foreman/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment