Programming Blog

Programming related articles.

How to export a git repository

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