Skip to content

Instantly share code, notes, and snippets.

@pchaigno
Created October 27, 2014 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pchaigno/d398196233a40a54595e to your computer and use it in GitHub Desktop.
Save pchaigno/d398196233a40a54595e to your computer and use it in GitHub Desktop.
def setup
super
@repo = sandbox_init("testrezpo")
@repo.checkout_tree(@repo.rev_parse("refs/heads/dir"), :strategy => :force)
IO.write(File.join(@repo.workdir, ".gitattributes"), ATTRIBUTES)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment