Skip to content

Instantly share code, notes, and snippets.

@masnick
Created June 28, 2013 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masnick/5888190 to your computer and use it in GitHub Desktop.
Save masnick/5888190 to your computer and use it in GitHub Desktop.
Git resources

Git is software that takes snapshots of a folder, lets you annotate these snapshots, and share the entire history of snapshots with other people.

It also allows multiple people to work on the same files without over-writing each other’s changes.

Some features, such as automatically combining the work of two people working on the same file at the same time, only work with plain text but git snapshots can include any type of file.

Getting started

  1. Read The Git Parable first. This will help you understand why Git (and version control in general) is important.
  2. Go through a setup/getting started tutorial like Git Immersion or Git Bootcamp from Github. This should take you through installing git, doing initial setup, and some basic command line usage. (Note that we have a Github account, but most of our repositories are on a private server.)
  3. Read the first 3 chapters of the Git community book. You will be scorned if you ask for help before you have done this.
  4. Read about how to write commit messages so you don’t annoy your coworkers.

Git user interfaces

Git is designed to be used at the command line, but that can be scary. There are some great graphical user interfaces for Git that make it a little more accessible.

  • Windows: SmartGit (free academic license)
  • Mac
    • Gitbox ($40) has a very simple interface, recommended for beginners
    • SourceTree (free as of 24 Oct 2011) is more complicated but more full-featured.
    • SmartGit (free academic license) is also available for Mac, but SourceTree is probably a better bet.
    • Read more about the different Mac options.

Remote Git repositories

One of the best things about keeping your work in Git repositories is that you can easily keep a copy on a remote server. This gives you a complete backup of your work and its change history, and it lets you easily share and collaborate on your work with others. Read about [[git hosting]] to see how we use remotes at CHPIR.

Additional resources

Books

Other general resources

Single-topic resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment