This section describes how the git version management tool is used in Partner development.

While it includes some basic usage information, this is mostly for convenience; this is not intended to be an even remotely authoritative or comprehensive guide.

Cheat Sheet

The following are some common tasks we use (but often have to look up how to use).

Creating a shared repository

Creating a shared repository is actually kind of annoying.

# create server repo
ssh user@server
git init --shared --bare /path/to/repo.git

# clone it and initialize it
git clone user@server:/path/to/repo.git
cd repo/
touch readme.txt # or add other files as desired
git add readme.txt
git commit -m "initial commit"
git push origin master

Cloning from a shared repository

git clone user@server:/path/to/repo.git

Table Of Contents

Previous topic

Development Ticket System

Next topic

System Administration

This Page