Git export (like SVN export)
This week I was working with a company on a client side project. I had to email them the files every time and the .git folders inside the project were heavy and unnecessary.
If you worked with SVN, you probably know the export command, after searching for a bit in git help I found how you can do it in git with ease.
How to do?
This is the command you should use:
git checkout-index -a -f --prefix=/path/to/your/folder/
The ending forward slash is very important! Do not forget to use it please.
A screenshot of my shell:
<img src="http://feeds.feedburner.com/~r/KensoDev-en/~4/TmSqN1EiTc8" height="1" width="1"/>