From: Robin Rosenberg <robin.rosenberg.lists@dewire.com>
To: dealmaker <vinkhc@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: How to ignore a modified file?
Date: Thu, 5 Mar 2009 21:45:08 +0100 [thread overview]
Message-ID: <200903052145.08249.robin.rosenberg.lists@dewire.com> (raw)
In-Reply-To: <1236242659559-2428157.post@n2.nabble.com>
torsdag 05 mars 2009 09:44:19 skrev dealmaker <vinkhc@gmail.com>:
>
> Hi,
> I run "git status", and I saw the a modified file in a directory. I want
> to ignore all files in that directory. I put the directory name into
> .gitignore, but it still shows as modified file. Why? How do I ignore the
> directory?
> Thanks.
git update-index --assume-unchanged <files...>
-- robin
next prev parent reply other threads:[~2009-03-05 20:46 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
2009-03-05 20:45 ` Robin Rosenberg [this message]
-- 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=200903052145.08249.robin.rosenberg.lists@dewire.com \
--to=robin.rosenberg.lists@dewire.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).