Git export - How to export a Git project

Git export FAQ: How do I export a Git project, like I would do with a "cvs export" or "svn export"?

There is no "git export" command, so instead you use the "git archive" command. By default, "git archive" produces its output in a tar format, so all you have to do is pipe that output into gzip or bzip2 or other.

Git export example

Here's a simple Git export command I just ran. I moved into the root of my Git project directory, then ran this command to create a new file named "latest.tgz":

Private Git repository hosting services

Private Git hosting services FAQ: What companies offer Git hosting, in particular private Git hosting services?

I recently started looking for a private Git hosting service, and the obvious first place to look is GitHub. They provide free Git hosting for open source projects, and their service has been excellent. But when I looked at their private Git hosting service, I was really surprised by the cost of their plans. Their lowest price private Git hosting plan is $7/month, and that allows only five Git projects, and relatively little disk space. Since I want a private Git hosting service to store all my projects, I'd immediately need to go to one of their paid Git hosting plans, and their Git hosting prices go up quickly from there.

Update: Github has changed their policies significantly since I first wrote this article.

Deploying a Project with CVS and Ant

A few simple steps

(Note: These comments were specific to our company's use of Ant to deploy our Java projects. If you're not using Ant, any Ant commands shown here won't apply to your project.)

To deploy any of our Java projects using Ant, just follow steps similar to these to check the project out of CVS and then build it on the server:

Common CVS and WinCVS errors

The CVS "Insufficient Karma" message

The CVS Insufficient Karma message means that you don't have the proper security permissions to check files back into a CVS repository. This is a problem that your CVS administrator can fix for you, and in the DevDaily CVS configuration refers to improper configuration in the "avail" file.


WinCVS - Special Tasks

I started to write about a few "special CVS tasks" that a user needs to perform from time to time, but as a practical matter, I've found that most new users don't need to worry about tagging a release for at least a little while, so I've skipped this topic here, at least for the time being.


<< Previous  Next >>


Everyday WinCVS tasks

This section assumes that that you've already checked out a project from a CVS repository and you're ready to start working on it. This section is broken down into the sub-sections:

WinCVS - Checking out a Project

Checking out a copy of a project

Select "Create | Checkout Module", then fill in these fields:

  • Enter the module name and path on the server
  • Local folder to checkout to

WinCVS setup - Initial Setup and Configuration

Initial Tasks

These are the tasks you'll need to perform to get started with WinCVS:

  • Download WinCVS
  • Install WinCVS
  • Start WinCVS
  • Setting your preferences via Admin/Preferences
  • Checking out a copy of a project

Download WinCVS

You can download the latest version of WinCVS from it's Internet home,

How to Use WinCVS

The following "Introduction to WinCVS" tutorial pages were taken from a short presentation I gave to new programmers and people in the design department at a small company I previously owned. As part of our overall development process we found it was helpful if everyone knew a little bit about how CVS works, and how WinCVS in particular works. I hope these pages will be helpful to you as well.