Answer the question
In order to leave comments, you need to log in
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?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question