From: Sverre Rabbelier <srabbelier@gmail.com>
To: dealmaker <vinkhc@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: How to ignore a modified file?
Date: Thu, 5 Mar 2009 09:50:37 +0100 [thread overview]
Message-ID: <fabb9a1e0903050050r322f1c54q8fd704cecc126115@mail.gmail.com> (raw)
In-Reply-To: <1236242659559-2428157.post@n2.nabble.com>
Heya,
On Thu, Mar 5, 2009 at 09:44, dealmaker <vinkhc@gmail.com> wrote:
> [...] How do I ignore [a tracked] directory?
$ git rm -rf --cached dirname && git commit -m "Removed directory from git"
Git will tell you about changes to the contents of the directory until
you stop tracking it. --cached will prevent the folder from actually
being removed from your harddisk.
--
Cheers,
Sverre Rabbelier
next prev parent reply other threads:[~2009-03-05 8:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-05 8:44 How to ignore a modified file? dealmaker
2009-03-05 8:50 ` Sverre Rabbelier [this message]
2009-03-05 20:45 ` Robin Rosenberg
-- strict thread matches above, loose matches on Subject: below --
2009-03-05 8:53 Quim K Holland
2009-03-05 10:09 ` Sverre Rabbelier
2009-03-05 10:21 ` Junio C Hamano
2009-03-05 13:58 ` Sverre Rabbelier
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=fabb9a1e0903050050r322f1c54q8fd704cecc126115@mail.gmail.com \
--to=srabbelier@gmail.com \
--cc=git@vger.kernel.org \
--cc=vinkhc@gmail.com \
/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 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).