Feature Request: Ignore Tracked IDE files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
    I was unable to find this as a prior feature request, so I apologize if this is a duplicate request.

    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. 

    Example workflow: 
Team member Pat creates a new repository. 
Pat sets up the default IDE settings file(s) the way the team “should” be using them, but only minimal settings like line length, tabs to spaces, etc. 
Pat commits the IDEs settings file(s) (often a directory like .idea or .vscode) to the GIT repository. 
Pat adds the IDE settings file to the IDE Ignore section of the .gitignore file. 
Team member Sam checks out the repository. 
Sam opens a local IDE and modifies settings that work for local items like executables etc. 
Sam makes code changes. 
When running `git status` Sam sees a new status section for IDE changes like `untracked` files. 
Sam executes `git add .` and the IDE changes are ignored.
Sam executes `git add -f .ide/settings.json` and the IDE changes are included (note specific file is identified not a general flag).


Thank you for your time,
Ward






[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux