Skip to content

Instantly share code, notes, and snippets.

@GavinJoyce
Created November 27, 2012 10:51
Show Gist options
  • Save GavinJoyce/4153596 to your computer and use it in GitHub Desktop.
Save GavinJoyce/4153596 to your computer and use it in GitHub Desktop.
My most used heroku and git commands
heroku apps:create [appname]
heroku open
heroku config
heroku run rake [task]
heroku keys
heroku logs
g='git'
gst='git status'
gl='git pull'
gup='git fetch && git rebase'
gp='git push'
gc='git commit -v'
gca='git commit -v -a'
gco='git checkout'
gcm='git checkout master'
gb='git branch'
gba='git branch -a'
gcount='git shortlog -sn'
gcp='git cherry-pick'
glg='git log --stat --max-count=5'
glgg='git log --graph --max-count=5'
gss='git status -s'
ga='git add'
gm='git merge'
grh='git reset HEAD'
grhh='git reset HEAD --hard'
Chrome:
https://developers.google.com/chrome-developer-tools/docs/shortcuts
Inspector : ALT+CMD+I
Console : ALT+CMD+J
heroku apps:create [appname]
heroku open
heroku config
heroku run rake [task]
heroku keys
heroku logs
alias g='git'
alias gst='git status'
alias gl='git pull'
alias gup='git fetch && git rebase'
alias gp='git push'
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gco='git checkout'
alias gcm='git checkout master'
alias gb='git branch'
alias gba='git branch -a'
alias gcount='git shortlog -sn'
alias gcp='git cherry-pick'
alias glg='git log --stat --max-count=5'
alias glgg='git log --graph --max-count=5'
alias gss='git status -s'
alias ga='git add'
alias gm='git merge'
alias grh='git reset HEAD'
alias grhh='git reset HEAD --hard'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment