I made a pull request in one of the repositories. But forget to hide the credentials in .env. Now I want to undo that pull request asap. What can I do?
You can do git reset --keep HEAD@{1} which discards your last pull.
git reset --keep HEAD@{1}
2.1m questions
2.1m answers
60 comments
57.0k users