LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How can i update kernel source from git with my own changes in another branch (https://www.linuxquestions.org/questions/linux-software-2/how-can-i-update-kernel-source-from-git-with-my-own-changes-in-another-branch-904759/)

andrewthomas 09-24-2011 10:12 AM

Quote:

Originally Posted by Richard.Yang (Post 4481066)
Not sure why

Try this (it worked for me):

git remote set-url origin https://github.com/mirrors/linux.git

Then try to fetch the tags and pull.

I forgot to fetch the tags first and just pulled, I think that it will be alright though.

When it was done pulling, for good measure I

Code:

git reset --hard origin/master
and it is now at the correct HEAD
Code:

HEAD is now at 9e79e3e Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc

Tinkster 09-25-2011 01:26 PM

Moved: This thread is more suitable in <software> and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 06:20 AM.