Hacker News new | ask | show | jobs
by addandsubtract 3778 days 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...