I downloaded the android code from source.android.com. Then I created a new branch from this code:
repo start mybranch platform/external/webkit Then I tried to switch to the new branch using :
git checkout mybranch which failed with this error message:
fatal: Not a git repository (or any parent up to mount parent /media) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
I tried the steps mentioned in the android link.
One more problem: when I use the command
repo branch it shows only the branch which I created eailer. How can I switch between the code I have downloaded and the code I have made changes to?