Skip to content

Instantly share code, notes, and snippets.

View gorillawit's full-sized avatar

rspeed gorillawit

  • sunpower
  • Austin TX
View GitHub Profile
@gorillawit
gorillawit / 0_reuse_code.js
Last active August 29, 2015 14:08
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@gorillawit
gorillawit / git commands.sh
Last active August 29, 2015 14:07 — forked from lttlrck/gist:9628955
Git rename a branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote