Post Reply

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

OP UtCollector@gmail.com

29th August 2014, 02:39 PM   |  #1  
OP Senior Member
Thanks Meter: 68
 
208 posts
Join Date:Joined: Nov 2011
More
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/androi..._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/androi...2x/tree/master

Please help me fix this.
30th August 2014, 08:54 PM   |  #2  
OP Senior Member
Thanks Meter: 68
 
208 posts
Join Date:Joined: Nov 2011
More
Any one?
30th August 2014, 10:27 PM   |  #3  
TeamMex's Avatar
Recognized Contributor
Flag Michoacán de Ocampo - México
Thanks Meter: 3,305
 
1,794 posts
Join Date:Joined: Dec 2011
Donate to Me
More
Quote:
Originally Posted by UtCollector@gmail.com

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/androi..._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/androi...2x/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,.
31st August 2014, 03:05 PM   |  #4  
OP Senior Member
Thanks Meter: 68
 
208 posts
Join Date:Joined: Nov 2011
More
Thx TeamMex, I will try that!
Post Reply Subscribe to Thread

Tags
github
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Questions and Answers by ThreadRank