git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to import stuff?
@ 2006-01-25 23:40 Ian Molton
  2006-01-25 23:42 ` J. Bruce Fields
  2006-01-26  0:15 ` Junio C Hamano
  0 siblings, 2 replies; 4+ messages in thread
From: Ian Molton @ 2006-01-25 23:40 UTC (permalink / raw)
  To: git

Hi.

I'd like to track the -mm tree in git.

I already have a linux git tree cloned from kernel.org, so I thought I'd try

git checkout -b v2.6.16-rc1 v2.6.16-rc1
git checkout -b v2.6.16-rc1-mm3
patch -Np1 < 2.6.16-rc1-mm3

So far so good - I have a tree with the patches applied

but then how do I add / remove new / deleted files?

git update-index --add --remove --refresh --ignore-missing

seems to generate a list of said files, but I cant seem to figure out 
how to get it to actually do anything useful with them.

git add . adds all the new files, but there seems to be no equivalent to 
remove files

and I really dont want to run git updat-index on *every single file* 
that changed by hand.

Surely Im missing something, but I cant see what for the life of me. The 
  'everyday git' document seems to focus on small changes to one or two 
files.

managing files not yet in or removed from the source isnt something 
effectively covered in the document (or if it is, I missed it somehow).

Its probably obvious that Im new to this kind of SCM - and I've not got 
on with SCMs generally... they never seem to be logical to me.

TIA!

-Ian

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-01-26  0:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-25 23:40 how to import stuff? Ian Molton
2006-01-25 23:42 ` J. Bruce Fields
2006-01-26  0:16   ` Junio C Hamano
2006-01-26  0:15 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).