Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,198 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I pushed of main
and then I found I delete file that I do not want how to cancel this.
I have not push it to github.
Thanks for posting your question in the Microsoft Q&A forum.
These articles help you to use git revert
https://dev.to/moustymainer/undoing-a-git-push-how-to-revert-changes-made-by-a-push-d5p
https://www.git-tower.com/learn/git/faq/restoring-deleted-files/
** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **