Changes

Jump to: navigation, search

Bugzilla:Git

177 bytes added, 13:29, 29 November 2014
Updating some URLs to match reality, and updating tag name to match new best practice.
The Bugzilla Project uses the [http://git-scm.com/ git] Version-Control System. You can see the contents of the Bugzilla git repository at on [http://git.mozilla.org/?p=bugzilla/bugzilla/.git;a=summary Mozilla's git server].
= Checking Code Out of git =
The simplest way to get the latest Bugzilla development code is:
git clone httphttps://git.mozilla.org/bugzilla/bugzilla.git
That will clone the Bugzilla git repository into a directory called "bugzilla" and will checkout check out the "master" branch.
If you want other branches, in the bugzilla directory simply checkout another branch:
git checkout 4.2
That will switch the files in the working directory to latest commit to on the 4.2 branch. Note that this doesn't necessarily correspond to the latest release in that series; additional patches may have been checked in since.
== Getting A Specific Release ==
Every time we release a version of Bugzilla, we tag the git repository so that the point in history that matches with that release can be explicitly checked out of the repository. For example, to check out Bugzilla 4.1.3, you would do:
git checkout bugzillarelease-4.1.3
That will switch the files in the working directory to the commit released as version 4.1.3.
Accountapprovers, antispam, confirm, emeritus
4,925
edits

Navigation menu