'Disable Visual Studio automatically syncing commits (pulling)

I am still pretty new to Git & repositories and currently hitting a wall with trying to configure Visual Studio Source Control.

My problem is that whenever someone pushes a commit to the master (or a branch), the commit gets automatically pulled and merged on every machine. Incoming is always at (0). I tried my best to search for a solution online but couldn't find anything that worked. In my old company, everything was set up so we could manually fetch and pull everything.

How can I do this in Visual Studio 2022? (We are using Azure DevOps in Visual Studio for our projects.)



Solution 1:[1]

Thank you so much. I talked to IT which I should have done in the first place.

The problem was user-input-related. To be specific, I mixed up the "Refresh" and the "Sync" buttons in the new Visual Studio UI. Which (in my defense) do look very similar. So I was hitting Synchronize instead of Refresh on the machines ?

Problem solved.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1