git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Feature Request: Ignore Tracked IDE files

From
Ward Hopeman <ward.hopeman@nearearth.aero>
Date
Mar 22, 2023, 13:54 UTC
Message-ID
<ACA3ECE1-689A-4BFD-A8EE-9CFF30128C1C@nearearth.aero>
In-Reply-To
<m0o7ol6ta7.fsf@epic96565.epic.com>
Hi Sean,
   Thanks for the feedback. I had not considered that the IDEs the teams are using might already have that functionality built in. I thought I had hit the nail on the head, but I agree there appears to be an alternative available. I will pursue those configurations with the team.
   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.

Thanks, Ward

>
Show 33 quoted lines
> On Mar 22, 2023, at 5:10 AM, Sean Allred <allred.sean@gmail.com> wrote:
> 
> 
> Ward Hopeman <ward.hopeman@nearearth.aero> writes:
>>    Request: Create an Ignore section that allows for minimal IDE
>>    inclusion without impacting IDE settings for local users.
>> 
>>    Reason for the request: Most engineering teams share some IDE
>> settings when working on code. More often than not, local IDE changes
>> force engineers to resort to using "git update-index --skip-worktree
>> <file>” to avoid the IDE settings files from showing up. It would be
>> nice to be able to identify IDE files that you want in the repository
>> but not necessarily track all changes as most of them are not desired
>> when individuals make those changes for local setup. But teams like to
>> track and have available generic shareable configurations like tabs to
>> space and line length etc. By making it a user configurable section of
>> ignore it allows for future IDEs to be listed without impacting the
>> way it works for common IDEs today.
> 
> It sounds like you are rather after 'public' vs 'private' IDE settings,
> which would be a feature of the IDE -- not of Git -- and it seems a far
> simpler model. Public settings are checked-in, private settings are not,
> and private settings override public settings.
> 
> This is used by Visual Studio (IIRC) and possible in other tools (Emacs
> I know for sure, though I can't imagine VS Code doesn't have this
> concept by now). It's even the model used by Git itself for some things
> (.gitignore vs. .git/info/exclude vs. core.excludesfile).
> 
> Are these alternative approaches not an option?
> 
> --
> Sean Allred
Previous: Sean AllredNext: Sean Allred
Message 3 of 5 in “Feature Request: Ignore Tracked IDE files”
  1. Ward HopemanMar 21, 2023
  2. Sean AllredMar 22, 2023
  3. Ward HopemanMar 22, 2023
  4. Sean AllredMar 22, 2023
  5. Ward HopemanMar 22, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.