Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on the Android sourcecode and I want to create a mirror of my code on Github. Here's the status:

  1. Checked out android code using instructions on

  2. Created a local branch, checked it out, made changes, committed the changes to local repo

Now, since I don't have commit rights on Android's origin repo and I want to make my code available to everyone publicly, I don't know how to do that. I've created a repo on github but there are two problems with pushing to github (a) it's a huge repo (b) I will have problems updating it when I 'repo sync' again from the origin android source.

The question: I'm looking for a strategy for making my code available publicly while still being able to fetch/merge/pull from the origin repository from Google.

share|improve this question

closed as off topic by Shane Madden, DerfK, voretaq7 Oct 27 '12 at 17:30

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Click "Fork".

share|improve this answer
That only gets the kernel. I need to work on other projects as well. Also, since Android has now moved away from and this project is a mirror of the one at, this won't work for future updates. – recluze Oct 27 '11 at 13:51
There are other repos on there, and I'm sure someone has a mirror of the current source on GitHub you can use instead of reinventing the wheel. – ceejayoz Oct 27 '11 at 13:57
That's the thing. There is none. At least none that I can find. CynogenMod is using the old mirror too but that isn't being updated anymore. – recluze Nov 2 '11 at 12:12

Not the answer you're looking for? Browse other questions tagged or ask your own question.