On Sat, 06 Mar 2010 10:24 -0600, "Nathaniel Green" <[email protected]> wrote: > I agree that the .git folders are unsightly. What you want to do is > analogous to an svn export. So, googling for 'git export' turned this up: > stackoverflow.com/questions/160608/how-to-do-a-git-export-like-svn-export > > Which says you want to do this, or something similar: > git archive master | tar - x - C /somewhere/else > > So your deployment script would delete the project deployment folder and > recreate it with a command like the above. > > Regards, > Nate
This is awesome. Throwing $git pull then $git archive master ... together to a bash script creates a clean, working export of the git repo :-) Thanks a lot, Nate. - H. ----------------------------------------------------------------- To get off this list, send email to [email protected] with Subject: unsubscribe -----------------------------------------------------------------
