Skip to content

Instantly share code, notes, and snippets.

@codex73
Forked from davidhemphill/gist:5188894
Last active August 29, 2015 14:15
Show Gist options
  • Select an option

  • Save codex73/4d41251921a12e45db8a to your computer and use it in GitHub Desktop.

Select an option

Save codex73/4d41251921a12e45db8a to your computer and use it in GitHub Desktop.
// Clone the repo
git clone --depth=1 git://someserver/somerepo dirformynewrepo
// Remove the .git directory
rm -rf !$/.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment