Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dbla
· 10y ago · 0 comments
I think a cli tool is usually easier because you don't have to rm -rf .git in order to set up your own repo.
Comments
[–]
addandsubtract
10y ago
You can use the following git command to move everything except for the .git files to a new location [1]
git checkout-index -f -a --prefix=/path/to/folder/
[1]
http://www.tekkie.ro/methodology/use-git-checkout-index-init...