From: "Jan Krüger" <jk@jk•gs>
To: Chris Packham <judge.packham@gmail•com>
Cc: "git@vger•kernel.org" <git@vger•kernel.org>
Subject: Re: getting git to ignore modifications to specific files
Date: Thu, 2 Sep 2010 11:25:31 +0200 [thread overview]
Message-ID: <20100902112531.160b09bd@jk.gs> (raw)
In-Reply-To: <4C7EA1FF.8030307@gmail.com>
Chris Packham <judge.packham@gmail•com> wrote:
> I did a bit of googling and found
> git update-index --assume-unchanged
>
> Which works locally to stop git status from complaining.
Be careful with that, as it's technically meant to be used for another
purpose (e.g. slow filesystems). Notably, git reset --hard will still
kill your local modifications. In your case it seems to be about
automatically generated files so it's no big problem, but it might
still cause a bit of confusion, so I thought I'd warn you anyway.
-Jan
next prev parent reply other threads:[~2010-09-02 9:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-01 18:57 getting git to ignore modifications to specific files Chris Packham
2010-09-01 19:06 ` Joshua Jensen
2010-09-01 19:12 ` Bruce Korb
2010-09-01 20:45 ` Chris Packham
2010-09-01 19:24 ` Joshua Juran
2010-09-02 4:09 ` Jonathan Nieder
2010-09-02 9:25 ` Jan Krüger [this message]
2010-09-02 10:20 ` Michael J Gruber
2010-09-02 19:40 ` Chris Packham
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=20100902112531.160b09bd@jk.gs \
--to=jk@jk$(echo .)gs \
--cc=git@vger$(echo .)kernel.org \
--cc=judge.packham@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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