gitvisual-studio-2022workspace

change path where snapshots are kept using ContextKeeper on VisualStudio 2022


If somebody uses ContextKeeper (https://contextkeeper.io/) for Visual Studio 2022, I installed ContextKeeper extension (Mental Snapshot) and it saves it's own data (all snapshots and features) in my git folder.

How can I change that path (.contextkeeper) outside of my local git folder?

When I use the ContextKeeper extension it makes changes to my feature and I don't want that .

As a solution, I could use .gitignore for the folder of this extension but that's something which also must be commited as a change, so no good.


Solution

  • ContextKeeper currently doesn't support changing the .contextkeeper folder but it's on the roadmap. I'm currently working on this feature, and hopefully, it will be available in the next major release.

    The simplest workaround is to use .git/info/exclude file instead of .gitignore - it only applies to your local copy of this repository (local, not shared with others). It could be done on a local or even global level. .