Skip to content

Instantly share code, notes, and snippets.

View joekur's full-sized avatar

Joe Kurleto joekur

  • Stitch Fix
  • Metro Detroit, MI
View GitHub Profile
# this include won't work for some reason:
# include Capistrano::Git::DefaultStrategy
module SubmoduleStrategy
# check for a .git directory
def test
test! " [ -d #{repo_path}/.git ] "
end