$ cd openafs-gerrits
Add an additional 'fetch' line to your `.git/config` to fetch the
-gerrit 'refs/changes' branches.
+gerrit 'refs/changes' branches:
-before:
+ $ git config --add remote.origin.fetch "+refs/changes/*:refs/remotes/origin/changes/*"
- [remote "origin"]
- url = https://gerrit.openafs.org/openafs.git
- fetch = +refs/heads/*:refs/remotes/origin/*
-
-
-after:
+Your .git/config should like like this now:
+ $ cat .git/config
+ ...
[remote "origin"]
url = https://gerrit.openafs.org/openafs.git
fetch = +refs/heads/*:refs/remotes/origin/*
fetch = +refs/changes/*:refs/remotes/origin/changes/*
+ ...
Run `git fetch` to fetch all of the gerrit changes.