include other gerrits depending on the situation.
To see the commit order by gerrit number, you can create a local repo and fetch
-the changes to your local repo using the method Ben mentioned in the past, and
-then use the git log command with the `--decorate` option to show the gerrit
-numbers associated with each commit.
+the changes to your local repo, and then use the `git log` command with the
+`--decorate` option to show the gerrit numbers associated with each commit.
Create a sandbox repo. This should normally be separate from your
working repo, since we will be fetching a large number of branches.
$ git clone https://gerrit.openafs.org/openafs.git openafs-gerrits
$ cd openafs-gerrits
-Add an additional 'fetch' to your `.git/config` to fetch the gerrit branches.
+Add an additional 'fetch' line to your `.git/config` to fetch the
+gerrit 'refs/changes' branches.
+
+before:
+
+ [remote "origin"]
+ url = https://gerrit.openafs.org/openafs.git
+ fetch = +refs/heads/*:refs/remotes/origin/*
+
+
+after:
[remote "origin"]
url = https://gerrit.openafs.org/openafs.git
fetch = +refs/heads/*:refs/remotes/origin/*
fetch = +refs/changes/*:refs/remotes/origin/changes/*
-Fetch the changes.
+Run `git fetch` to fetch all of the gerrit changes.
- $ gerrit fetch
+ $ git fetch
(... snip ...)
* [new ref] refs/changes/99/99/4 -> origin/changes/99/99/4
* [new ref] refs/changes/99/99/5 -> origin/changes/99/99/5