[Q] Some github help pleace. Adding files to cm11.0

Search This thread

UtCollector@gmail.com

Senior Member
Nov 7, 2011
244
89

TeamMex

Recognized Developer / Inactive RC
Hello,

I have made a device tree. Now i would like to upload it to the branch cm11.0

this is about what i did:

cd m805_89x
git init
git add
git commit -m ''first commit'
git remote add origin https://github.com/Frank77GLD/android_device_YG_m805_892x.git
git push origin master --force

But this will upload to branch master and not to the branch cm11.0

How do i fix this?

This now is my github: https://github.com/Frank77GLD/android_device_YG_m805_892x/tree/master

Please help me fix this.

git push origin HEAD:cm-11.0
or
git push -u origin HEAD:cm-11.0
or
git push -u origin cm-11.0

and this make a cm-11.0 branch :)


cheers,.