Skip to content
This repository was archived by the owner on Sep 8, 2021. It is now read-only.

Cloning

peterbe edited this page Sep 30, 2011 · 3 revisions

The default branch of sheriffs is develop (where the latest action happens) but the production branch is master.

To set up a production server use this initial command:

git clone --recursive -b master git://github.com/mozilla/sheriffs.git

To set up locally for development or for a development server use:

git clone --recursive -b develop git://github.com/mozilla/sheriffs.git

Suppose you want to switch

Suppose you want to switch from one develop to master on the same computer. Then run these commands:

git fetch origin master:master
git checkout master 

Clone this wiki locally