Git Getting Started

From Dreamwidth Notes
Jump to: navigation, search

Dreamwidth uses Git for source code control, with the code being hosted on GitHub.

Learning Git: Resources

If you'd like some serious extra-credit reading, have a look at the Git documentation!

Installing Git

First of all, if you have a Dreamhack, you skip this step -- Git is already installed for you. =)

If you want to develop on your own computer, there are a number of different ways to get hold of Git.

Linux/BSD/Other Unixen
The preferred way to install Git is through your distribution's package manager. For Debian, Ubuntu, and other Debian-based dists: apt-get install git.
Mac OS X
You can install Git with one of the OS X add-on package managers, like homebrew.
You can grab an installer package from the main Git site.
Github has a customized client of their own, which includes Git.
Windows
You can grab an installer package from the main Git site.
Github has a customized client of their own, which includes Git.
Building Git from Source
Finally, if you have a system where none of the above options will work for you -- for instance, a Mac running OS X Tiger (10.4.11) or earlier -- you can download the Git source code and build it yourself! Compiling Git is actually fairly straightforward, at least compared to some open source packages. Feel free to ask for help in the #dreamwidth-dev IRC channel if you need to go down this road -- [info]shadowspar has been there before.


Using Git for Dreamwidth Development