This site is a static archive of the Aegir community site. Documentation has moved to http://docs.aegirproject.org. Other community resources can be found on the Contacting the community page.
Skip navigation

Revision of A crash course in Git from Mon, 12/06/2010 - 05:08

Help

A crash course in Git

Clone a repo

Let's take provision:

git clone git://git.aegirproject.org/provision

If successful, you will have a provision directory at the last state of development ('HEAD' in CVS speak, 'master' branch in git speak).

Check the status of the local git repository:

git status

See the commit messages:

git log

Check all 'releases'

git tag

Create a new branch for your local development:

git checkout -b <new_branch_name>

Create a new branch for development, based on an existing remote branch

git checkout -b <new_branch_name> origin/<branch_name>

Need help?

Documentation

The notebook section provides a way for you to store and share information with your group members. With the book feature you can:

  • Add book pages and organize them hierarchically into different books.
  • Attach files to pages to share them with others.
  • Track changes that others have made and revert changes as necessary.
  • Archive books that are no longer of interest to the group. Archived books can be reactivated later if needed.

The revisions let you track differences between multiple versions of a post.