From: Ian Molton <spyro@f2s.com>
To: git@vger.kernel.org
Subject: how to import stuff?
Date: Wed, 25 Jan 2006 23:40:39 +0000 [thread overview]
Message-ID: <43D80C77.70207@f2s.com> (raw)
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
next reply other threads:[~2006-01-25 23:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-25 23:40 Ian Molton [this message]
2006-01-25 23:42 ` how to import stuff? J. Bruce Fields
2006-01-26 0:16 ` Junio C Hamano
2006-01-26 0:15 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43D80C77.70207@f2s.com \
--to=spyro@f2s.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.