I opened Visual Studio 2022 today and got these symbols on my left sidebar.
I didn't enable those, they just appeared. If i click on them, they show this:
They are really annoying, especially since the red arrows appear on the right sidebars in nearly the same color as error indicators.
I couldn't find an option to turn these off, or find a solution online. Does anyone know how to get rid of them?
As of Version 17.6.2 this is no longer a preview feature. This is now fully implemented and turned on, again, by default. To disable go to:
Tools
-> Options
-> Text Editor
-> General
From there you want to uncheck "Track Changes".
Updated Answer (February 16th, 2024):
For a time, Visual Studio forced this option upon you with no way to disable it after making this feature no longer a preview one. However, Visual Studio 2022 17.9.0 added the ability to toggle between the modes now after a recent feedback item.
Go to Tools → Options → Text Editor → General and change the "Tracking Mode" dropdown to either be Git Changes or File Changes:
Original Answer:
You will want to turn off Git Line Staging support.
Go to Tools → Options → Environment → Preview Features and uncheck the "Git line-staging support" option and restart the IDE.
Visual Studio Version 17.3 turned this feature on by default. By turning it off, Visual Studio will revert back to having the "green and yellow" change indicator bars instead of these Git ones. It will also remove those red arrows you speak of.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With