git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: My Embarrasingly Stupid Git question....(*)

From
Junio C Hamano <junkio@cox.net>
Date
Aug 31, 2005, 19:58 UTC
Message-ID
<7vacixanew.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<1125506707.13577.29.camel@cashmere.sps.mot.com>
Jon Loeliger <jdl@freescale.com> writes:
> (*) -- I knew I didn't need to bother the list with this
>     question.  And that as soon as I asked for external help,
>     the answer would become clear. Sorry to have bothered you.

That's OK. As I stated before, the primary motivation that got me involved in git was to help people who do Linux kernel, so any question regarding the Linus kernel tree extracted from a copy of his git repository is welcome here, at least to me.

I do not know Cogito very well. I keep the latest Cogito source around all the time so that I can figure things out whenever need arises by reading it. Most of the time, I would not offhand know answers to questions like "what does cg-rm do and what's the difference between it and 'cvs rm'".

Using the core GIT tools only, the sequence of what you did would have been:

------------------------------------------------ $ git clone <url> <dir> && cd <dir> $ git checkout -b jdl master $ rm include/asm-ppc/sockios.h $ rm include/asm-ppc/socket.h $ rm include/asm-ppc64/sockios.h $ rm include/asm-ppc64/socket.h $ git add include/asm-powerpc/sockios.h $ git add include/asm-powerpc/socket.h $ git commit -a -s ------------------------------------------------

Message 1 of 1 in “Re: My Embarrasingly Stupid Git question....(*)”
  1. Junio C HamanoAug 31, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.