Skip to content

Instantly share code, notes, and snippets.

@amitk
Last active June 18, 2021 12:04
Show Gist options
  • Save amitk/aa899629500f26882294cc39eee63aba to your computer and use it in GitHub Desktop.
Save amitk/aa899629500f26882294cc39eee63aba to your computer and use it in GitHub Desktop.
# Add them to ~/.bash_profile
# reload bash profile in terminal using $. ~/.bash_profile
# git alias
alias gs="git status"
alias gpush="git push"
alias gpull="git pull"
alias gs="git status"
alias ga="git add"
alias gstash="git stash"
alias gf="git fetch"
alias gr="git reset"
alias gc="git checkout"
alias gb="git branch"
#rails alias
alias rs="rails server"
alias rc="rails console"
alias be="bundle exec"
alias bi="bundle install"
alias rcop="bundle exec rubocop"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment