how to make git push origin –force ; in Visual Studio Team Explorer

You can enable –force without using command prompt in visual studio 2017 as follows Open team explorer.

Team Explorer>Settings>Git>Global Settings

check the enable push –force checkbox and that should do the trick like so Check box

For more info check out this link

PS. **This feature is only available in visual studio 2017+ **

Leave a Comment