gitkraken / vscode-gitlens

Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
http://gitkraken.com/gitlens
Other
9.03k stars 1.35k forks source link

temporarily ignore files #1674

Open BenWil opened 3 years ago

BenWil commented 3 years ago

The ability to temporarily ignore files and display them separately would be a great feature. Git has this feature build in.

From the git documentation:

In order to set "assume unchanged" bit, use --assume-unchanged option. To unset, use --no-assume-unchanged. To see which files have the "assume unchanged" bit set, use git ls-files -v (see git-ls-files[1]).

git update-index --assume-unchanged <file>
git update-index --no-assume-unchanged <file>
SkyCodeSky commented 2 years ago

I would like this feature very much. Perhaps you could use .vscode/setting.json for this options in workspace. And show all assume-unchanged files within the Source Control panel in a separate Box.

BTW: Here are the commands that could be a starting point: https://medium.com/@ibrahimlawal/git-i-always-change-a-tracked-file-while-working-but-i-dont-want-to-commit-or-remove-my-changes-9c52d8fd1ff8

While added to Backlog as a feature in late 2021 are there any news yet?