Skip to content

Instantly share code, notes, and snippets.

@sirbrad
Created April 26, 2012 09:10
Show Gist options
  • Save sirbrad/2497921 to your computer and use it in GitHub Desktop.
Save sirbrad/2497921 to your computer and use it in GitHub Desktop.
For cloning a repo into a new repo
$ cd /directory
$ git clone /path/to/repo
$ mv /repo/with/contents/* .
$ rmdir /cloned/repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment