How to keep/save bookmarks during git rebase
when file content doesn't change?
#429
-
I have some bookmarks for a file in a git project. When I update the project using I am aware that the extension doesn't work well with external changes to the file (e.g. Prettier). In my case the file content doesn't change after the git update, so I hope it's possible to keep the bookmarks? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @Tony2 , If the file doesn’t change, the bookmarks shouldn’t change as well. If you open the file after the Unless, when you run Which is your scenario? |
Beta Was this translation helpful? Give feedback.
Hi @Tony2 ,
If the file doesn’t change, the bookmarks shouldn’t change as well. If you open the file after the
git fetch
, it will validate if the bookmarks are still valid (line numbers), but just that.Unless, when you run
git rebase
, the bookmarked file is opened in VS Code. In this case, I suppose the auto update VS Code does, is doing something similar to Prettier.Which is your scenario?