home
/
code
/
git-cheat-sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa63a54
)
Replace 'cp' with 'git clone'
author
Siraaj Khandkar
<siraaj@khandkar.net>
Mon, 6 Oct 2014 18:20:07 +0000
(14:20 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Mon, 6 Oct 2014 18:20:07 +0000
(14:20 -0400)
README.md
patch
|
blob
|
blame
|
history
diff --git
a/README.md
b/README.md
index
d6a1454
..
3dbce00
100644
(file)
--- 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
This page took
0.027224 seconds
and
4
git commands to generate.