Skip to content

Instantly share code, notes, and snippets.

@rabajaj0509
Last active Oct 13, 2020
Embed
What would you like to do?
List of my shortcuts for everyday commands!
# 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 vagrant@centos7-katello-devel.localhost.example.com:/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