Bugzilla:Git: Difference between revisions

Update instructions for using ssh
(→‎Checking Code Out of git: - add info about if you have checkin rights)
(Update instructions for using ssh)
Line 6: Line 6:


   git clone https://git.mozilla.org/bugzilla/bugzilla
   git clone https://git.mozilla.org/bugzilla/bugzilla
or, if you have checkin rights and plan to use them, then:
  git clone ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla


That will clone the Bugzilla git repository into a directory called "bugzilla" and will check out the "master" branch.
That will clone the Bugzilla git repository into a directory called "bugzilla" and will check out the "master" branch.
Line 19: Line 15:


That will switch the files in the working directory to latest commit 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.
That will switch the files in the working directory to latest commit 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.
If you have checkin rights and plan to use them, remember to also execute:
  git remote set-url --push origin ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla


== Getting A Specific Release ==
== Getting A Specific Release ==
Account confirmers, Anti-spam team, Confirmed users, Bureaucrats and Sysops emeriti
4,925

edits