Hacker News new | ask | show | jobs
by dbla 3780 days ago
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.
1 comments

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...