Skip to content

Instantly share code, notes, and snippets.

@co2meal
co2meal / gist:e91be55b5dd00c4cb9b1c645a7353f8c
Created June 8, 2017 04:27 — forked from digitaljhelms/gist:4287848
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
@co2meal
co2meal / gist:3706261
Created September 12, 2012 12:20 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@co2meal
co2meal / date_time.coffee
Created September 6, 2012 07:22 — forked from markbates/date_time.coffee
Example: Rails-style date/time helpers in CoffeeScript
Number::seconds = ->
@ * 1000
Number::minutes = ->
@seconds() * 60
Number::minute = Number::minutes
Number::hours = ->
@minutes() * 60
@co2meal
co2meal / gist:3151467
Created July 20, 2012 15:46 — forked from albohlabs/gist:1989320
CLI: git
# Read: pull the changes from origin/master into my current local branch my_branch
git push origin master
# connect your repository to a remote server
git remote add origin <server>
# create a new branch
git checkout -b feature_x
# switch back