From: Sean Allred <allred.sean@gmail.com>
To: Ward Hopeman <ward.hopeman@nearearth.aero>
Cc: Sean Allred <allred.sean@gmail.com>, git@vger.kernel.org
Subject: Re: Feature Request: Ignore Tracked IDE files
Date: Wed, 22 Mar 2023 08:55:12 -0500 [thread overview]
Message-ID: <m0fs9w7upa.fsf@epic96565.epic.com> (raw)
In-Reply-To: <ACA3ECE1-689A-4BFD-A8EE-9CFF30128C1C@nearearth.aero>
Ward Hopeman <ward.hopeman@nearearth.aero> writes:
> [...] but I agree there appears to be an alternative available. I will
> pursue those configurations with the team.
Best of luck! Managing settings across a team is always an 'interesting'
experience :-)
> I am curious if you think there is a class of files, under the
> paradigm I outlined; that need to be tracked initially but then
> ignored for regular workflows? Just curious at this point if this was
> discussed / considered previously.
It comes up every now and again, but in lieu of specific examples, it
always 'seems' to be the wrong approach. The Notes section of
git-update-index(1) talks about this a bit:
> Users often try to use the assume-unchanged and skip-worktree bits to
> tell Git to ignore changes to files that are tracked. This does not
> work as expected, since Git may still check working tree files against
> the index when performing certain operations. In general, Git does not
> provide a way to ignore changes to tracked files, so alternate
> solutions are recommended.
>
> For example, if the file you want to change is some sort of config
> file, the repository can include a sample config file that can then be
> copied into the ignored name and modified. The repository can even
> include a script to treat the sample file as a template, modifying and
> copying it automatically.
--
Sean Allred
next prev parent reply other threads:[~2023-03-22 13:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-21 19:49 Feature Request: Ignore Tracked IDE files Ward Hopeman
2023-03-22 9:10 ` Sean Allred
2023-03-22 13:54 ` Ward Hopeman
2023-03-22 13:55 ` Sean Allred [this message]
2023-03-22 14:21 ` Ward Hopeman
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=m0fs9w7upa.fsf@epic96565.epic.com \
--to=allred.sean@gmail.com \
--cc=git@vger.kernel.org \
--cc=ward.hopeman@nearearth.aero \
/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.