]>
To collaborate in software development project it sometimes helps to keep a repository of disk reserved -- for sharing code. Even if you're not sharing your code, the ability to recover lost code is nice. There's many software designed for this, but I'm speaking here of only Git. Git is a fast, efficient, and distributed version control system.
I created a new website and I want to make it available so other developers can download my source code and help with the coding. An important requirements are ability to manage, merge, and test changes. I will use Github as the server. Github is a free repository server. It's an "Open Repository" for sharing of open source projects. Documentation is on their great on their web site. It includes two popular models of collaborative development on GitHub and lot's of use cases.
With my new Github account and free repository, and my code on my workstation, I am ready to make it available to others. First I need to install the client on my workstation. The Git client is available on github.com web site. Download and install Git on your workstation.
Lot's of Git users utilize command line for Git, so getting started locally, here are two config commands. These commands will begin your local setup by setting personal properties. The operations will creates a new local .git directory you can view locally in your current directory. I always use the root of my site as my current directory. I change into it prior to utilizing command line.
Use your own name and email address.
git config --global user.name "Mark Cox"
git config --global user.email markcox@bayarea.net
By default this repo is Read Only at something like git@github.com:dmarkcox/gc.markcox.net.git
We've not put anything in our new repository, but we're installed and ready to go!
You can get a full install of a Lamp Stack on your workstation: Wamp (Windows) or Mamp (for Mac), or check DAMP for your platform.