Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. SQL Server
  3. Question
SQL Server

git reset remote - resetting remote to a certain commit

Asked by Aryan Gupta Jul 6, 2021 1.4K views 1 answer
Share

About this question

- I want to discard all changes done after commit . So I did:

git reset --hard 

Now I want to do the same with my remote. How can I do this? I have done some commits (and pushes) after and I just want to discard them all. It is just something that went terribly wrong in the way and I don't want to make it worse than it is already. 

I basically want to rewind my origin/master to

Your answer

1 Answer

More SQL Server discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.