Git - tracked but `uncommitable` files

Answered

The case is as following:

In the project I work, there are some files changed locally (e.g. appsettings.Development.json, launchSettings.json) that are tracked (Git), but I can't commit these files. With such situation, whenever I need to commit my changes, I have to go through the list of files and mark checkboxes of files I wanted to commit. This is dull and error-prone...

Is there any way to have a list of files that are changed locally but are not commited?

There are two list now (as shown below) and  I'm thinking about 3rd list - with tracked, changed, but I-do-not-to-wish-to-commit files.

0
2 comments

Oh, I've found it.

It's a "New Changelist..." option.

Alternatively, one may use .git\info\exclude.

0

Please sign in to leave a comment.