How to export a git repository

10 January 2012

When I need to export my code from a git repo, I used to copy my repository to another location and delete git specific stuff from it (.git directory and .gitignore file etc.) and zip the directory.This is a trick that I learned from one of my co-workers. Following command exports your project and creates a tar.gz file from it


- Follow yilmaz_huseyin on Twitter