M
M
Mazuto2020-12-06 15:05:49
GitHub
Mazuto, 2020-12-06 15:05:49

How to remove recent unsynced commits from GitHub Desktop?

Hello. I tried to upload a commit to the repository via GitHub Desktop, but it gave an error due to the file being too large (2 GB). It was an asset from the marketplace for Unreal Engine. Tried deleting a commit via revert this commit a few times, but now I have several out of sync commits in my history that are asking to be pushed into the repository. How to remove them? I read that you need to enter the command git reset --hard HEAD~2 or similar, but where do you enter it?5fccc91a9118d505569206.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question