From fe79085123faf9e524caa33bf00f0024b6589960 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Mon, 6 Oct 2014 14:20:07 -0400 Subject: [PATCH] Replace 'cp' with 'git clone' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d6a1454..3dbce00 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Splitting a repo ##### Remove history of all but select files in cloned repo ```sh -$ cp -Rp old new +$ git clone old new $ cd new $ git clean -dfx $ git gc --aggressive --prune=now -- 2.20.1