Help with git
Nick Krause
xerofoify at gmail.com
Fri Aug 8 13:04:15 EDT 2014
On Thu, Aug 7, 2014 at 11:13 PM, Nick Krause <xerofoify at gmail.com> wrote:
> On Thu, Aug 7, 2014 at 11:05 PM, <Valdis.Kletnieks at vt.edu> wrote:
>> On Thu, 07 Aug 2014 22:25:06 -0400, Nick Krause said:
>>
>>> 1. git clone linux-next
>>
>> Before you do the git add, you *really* want to create a branch for
>> yourself to work on.
>>
>>> 2. git add file changed
>>
>> Because otherwise this will get dumped on one of 200+ linux-next branches
>> and cause acute indigestion the next time you do a 'git remote update'.
>
>
> That was stupid :(. Guess I known how to do it now.
> Thanks Nick
I am tried your idea and not working. Really weird, seems I am not
using the correct commands.
The commands I am using are
1.git branch next
2.git remote add -t master -f next
git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git
And that's it. I hit the git message of this,
usage: git remote add [<options>] <name> <url>
-f, --fetch fetch the remote branches
--tags import all tags and associated objects when fetching
or do not fetch any tag at all (--no-tags)
-t, --track <branch> branch(es) to track
-m, --master <branch>
master branch
--mirror[=<push|fetch>]
set up remote as a mirror to push to or fetch from
Nick
More information about the Kernelnewbies
mailing list