Friday, August 15, 2008

quick note: git tag and export

Tag:
git tag -a some_release_name
Export:
git archive --prefix=quikcms/ HEAD > ../quikcms.tar
Since I have to be in the same level as .git, I want to export the tarball one level higher. Moreover, the files inside won't have a dir prefix, so I have to add that on the command line.