From mboxrd@z Thu Jan 1 00:00:00 1970 From: xerofoify@gmail.com (Nick Krause) Date: Thu, 7 Aug 2014 22:25:06 -0400 Subject: Help with git In-Reply-To: References: <36454.1407463201@turing-police.cc.vt.edu> Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Thu, Aug 7, 2014 at 10:18 PM, Sudip Mukherjee wrote: > > On Aug 8, 2014 7:32 AM, "Nick Krause" wrote: >> >> On Thu, Aug 7, 2014 at 10:00 PM, wrote: >> > On Thu, 07 Aug 2014 21:48:54 -0400, Nick Krause said: >> > >> >> sed: can't read /home/nick/linux-next/.git/rebase-apply/info: No such >> >> file or directory >> > >> > It usually helps if you give the actual command that you were trying to >> > do. >> > >> > You didn't do this on top of a linux-next tree that you did a 'git pull' >> > to >> > update, did you? >> > >> No I just pulled it down and didn't do anything else, is that bad practice >> and I >> should have used git fetch instead? >> Nick >> > > can you please post the git commands that you have used to initialize the > git and how did you pulled it down and how are you syncing with linux-next > tree?? > and ofcourse what command you are using to apply the patch , the folder > where the patch is and the the folder where linux-next tree and also mention > your cwd when you are trying to apply the patch. > >> _______________________________________________ >> Kernelnewbies mailing list >> Kernelnewbies at kernelnewbies.org >> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies Sure here they are 1. git clone linux-next 2. git add file changed 3. git commit 4. git format-patch -1 -s 5. git add patch 6. git am Then it fails with the above message. Cheers Nick