Best way to duplicate a git repo on local PC
Just copy the .git folder and then do checkout -- *
$> mkdir my-new-repo $> cd my-new-repo $> cp -R ../old-repo/.git ./ $> git checkout -- *
Just another Yipp.ca Blogs site
Just copy the .git folder and then do checkout -- *
$> mkdir my-new-repo $> cd my-new-repo $> cp -R ../old-repo/.git ./ $> git checkout -- *
Recent Comments