{"thread":{"id":"1706","subject":"Re: My Embarrasingly Stupid Git question....(*)","startedAt":"2005-08-31T19:58:47Z","lastAt":"2005-08-31T19:58:47Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"7980","messageId":"7vacixanew.fsf@assigned-by-dhcp.cox.net","threadId":"1706","inReplyTo":"1125506707.13577.29.camel@cashmere.sps.mot.com","subject":"Re: My Embarrasingly Stupid Git question....(*)","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-08-31T19:58:47Z","receivedAt":"2005-08-31T19:58:47Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Jon Loeliger <jdl@freescale.com> writes:\n\n> (*) -- I knew I didn't need to bother the list with this\n>     question.  And that as soon as I asked for external help,\n>     the answer would become clear. Sorry to have bothered you.\n\nThat's OK.  As I stated before, the primary motivation that got\nme involved in git was to help people who do Linux kernel, so\nany question regarding the Linus kernel tree extracted from a\ncopy of his git repository is welcome here, at least to me.\n\nI do not know Cogito very well.  I keep the latest Cogito source\naround all the time so that I can figure things out whenever\nneed arises by reading it.  Most of the time, I would not\noffhand know answers to questions like \"what does cg-rm do and\nwhat's the difference between it and 'cvs rm'\".\n\nUsing the core GIT tools only, the sequence of what you did\nwould have been:\n\n------------------------------------------------\n$ git clone <url> <dir> && cd <dir>\n$ git checkout -b jdl master\n$ rm include/asm-ppc/sockios.h\n$ rm include/asm-ppc/socket.h\n$ rm include/asm-ppc64/sockios.h\n$ rm include/asm-ppc64/socket.h\n$ git add include/asm-powerpc/sockios.h\n$ git add include/asm-powerpc/socket.h\n$ git commit -a -s\n------------------------------------------------\n"}]}