Skip to content

Instantly share code, notes, and snippets.

View mainej's full-sized avatar

Jacob Maine mainej

  • Seattle, WA, USA
View GitHub Profile
# by bryan helmkamp with slight modification by chris wanstrath
# from http://www.brynary.com/2008/8/3/our-git-deployment-workflow
# I DO NOT RECOMMEND USING THIS WORKFLOW - IT DESTROYS HISTORY! - jesse andrews
module GitCommands
extend self
def diff_staging
`git fetch`