I'm new to git/repo, so forgive me if this is a simple question. I followed the steps below to mirror Android source on my server:
repo init -u https://android.googlesource.com/platform/manifest --mirror
Cloned platform/manifest.git and modifed default.xml to fetch from my server
On a desktop ran the comands below to sync the ICS branch with my server, created work branch and pushed to reposity on my server:
repo init -u git://192.168.1.125/ics-mirror/platform/manifest.git -b android-4.0.1_r1 repo sync
repo start work_branch --all
repo forall -c 'git remote add corpserver /opt/git/ics-mirror/$REPO_PROJECT.git $@'
repo forall -c git push corpserver work_branch:refs/heads/work_branch
repo syncChanged default revision to work_branch
default revision="refs/heads/work_branch"
So we can now sync our work_branch on desktops by running this command:
repo init -u git://192.168.1.125/ics-mirror/platform/manifest.git -b work_branch
However I just don't know how to merge upstream changes made on the branch android-4.0.1_r1 into our work_branch. A git branch -a lists the following branches:
remotes/aosp/donut-release
remotes/aosp/donut-release2
remotes/aosp/eclair-passion-release
remotes/aosp/eclair-release
remotes/aosp/eclair-sholes-release
remotes/aosp/eclair-sholes-release2
remotes/aosp/froyo
remotes/aosp/froyo-release
remotes/aosp/gingerbread
remotes/aosp/gingerbread-mr4-release
remotes/aosp/gingerbread-release
remotes/aosp/ics-factoryrom-2-release
remotes/aosp/ics-mr0
remotes/aosp/master
remotes/aosp/work_branch
remotes/m/work_branch -> aosp/work_branch
Could anyone please kindly help with this?
Thanks!