Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Java
  3. Question
Java

undo git pull-How to undo a git pull?

Asked by Aditi Ishii Jun 23, 2021 986 views 1 answer
Share

About this question

 I would like to undo my git pull on account of unwanted commits on the remote origin, but I don't know which revision I have to reset back to.

How can I just go back to the state before I did the git pull on the remote origin?

Your answer

1 Answer

More Java discussions

Learn & Explore

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

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.