# HOW TO SET LOCAL AOSP GERRIT SERVER - PART 3

DevFeed: [HOW TO SET LOCAL AOSP GERRIT SERVER - PART 3](<https://devfeed.tech/articles/how-to-set-local-aosp-gerrit-server-part-3-21701.md>)

Original publisher: [Read original article](<https://nativeguru.wordpress.com/2015/08/18/how-to-set-local-aosp-gerrit-server-part-3/>)

Author: Ramon

Published: 2015-08-18T05:45:05Z

Content type: tutorial

Language: en

Sources: [Ramon Fried](<https://devfeed.tech/sources/ramon-fried.md>)

Topics: [Gerrit](<https://devfeed.tech/topics/gerrit.md>), [aosp](<https://devfeed.tech/topics/aosp.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [aosp](<https://devfeed.tech/tags/aosp.md>), [development](<https://devfeed.tech/tags/development.md>), [etc-init-d](<https://devfeed.tech/tags/etc-init-d.md>), [gerrit](<https://devfeed.tech/tags/gerrit.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [local](<https://devfeed.tech/tags/local.md>), [manifest](<https://devfeed.tech/tags/manifest.md>), [new-branches](<https://devfeed.tech/tags/new-branches.md>), [repo-mirror](<https://devfeed.tech/tags/repo-mirror.md>), [server](<https://devfeed.tech/tags/server.md>), [setup](<https://devfeed.tech/tags/setup.md>)

## AI overview

The excerpt explains how to create development branches across AOSP projects from a chosen release baseline: initialize an empty repository at the corresponding manifest branch, inspect `.repo/manifests/default.xml` for each project's default revision, then use Gerrit's `create-branch` through `repo forall` to branch from the release tag. The example pairs Lollipop build LMY48B with `android-5.1.1_r3`; projects without that tag may report `fatal: invalid revision`, which the excerpt says is expected because they are not included in the baseline manifest. It then describes editing and merging a custom manifest so others can initialize from it. The excerpt introduces updating Gerrit and the mirror from upstream but cuts off before showing the commands.

## Source excerpt

Hi there. This is the last post in the series of a local AOSP gerrit server setup. In this post, We'll finalize the configuration of Gerrit, add new branches for development and see how to maintain the setup. In the last post, we've finished creating the project in Gerrit. When we develop locally, we should [...]