This noob screwed up using GitHub Desktop... how to correct a 100mb file with GitHub desktop?

Okay, so here’s the short-and-ugly…

I’m a noob, only been using git for about a week. I’ve been using GitHub Desktop so that I can get used to the principles of Git before using the Bash.

I had a video file that was 121mb in my project folder (I didn’t know about the upload limit) and committed its addition my local repo. But now I cant push to the main online repo.

I tried deleting the video file and committing. No push.
I tried deleting loads of other video files in case the limit was changed but the message wasn’t and committing . No push.
I tried reverting the deletion of the videos, their original commits and all the other commits of today to try and undo the issue, and then committing. No push.
I then realised that all of work I’d done had been undone (I thought it would only undo the commits themselves, not the work), so I did what any grown up would do - cried, hit the wall, threw the dog out the window and then reverted all of the reverts…

So now my project is a mess and I have no idea how to sort this out. I’ve read that there is a bash command along the lines of ‘git -rm cached etc.’ so I’ve just installed Git for windows yet am petrified of trying any of the commands in case I screw this up any further…

If there’s anyway to rectify this using GitHub Desktop I would greatly appreciate it. If a solution is only available in command then I will still be greatly appreciative of the help.

P.S. The project itself is working… it’s just the Git that’s a mess…


I would like to suggest another way that I use a lot: using the Git GUI. It’s a bit different from GH desktop, but still quite easy.

  1. Using the Git bash, navigate (using the  cd ) command to the folder where the Git repo is in.
  2. Type the command  gitk --all
  3. In the top you will see a panel with all of your recent commits
  4. Right-click  the first  commit  before the commit that contained the video and click  Reset master branch to here. Then select the  Hard reset option and click  OKWARNING: THE REPO WILL BE RESET TO THAT COMMIT, YOU WILL LOSE ALL OF YOUR WORK AFTER THAT ONE, INCLUDING WORK THAT YOU DID WITHOUT COMITTING
  5. Done

An alternative way to reach the Git GUI is trough the Windows context menu: Knipsel.PNG

 If you click Git GUI in the context menu, you’ll first have to click  Repository (in  the toolbar) >  Visualize All Branch history to get to the correct window.

Hope this helps.


Hello friends,

I too just downloaded GitHub Desktop. I had created a new repository online. As per their

instructions I imported the repository from GH_Online to GH_Desktop. When I launched the GHD App I did not see the imported respoitory. This is the screen shot of what I saw:

First question: Why did the repository not get imported. What do I need to do? Can anyone please help me? Ask me any additional questions you like to get this problem resolved. 

Thank you for your attention.

I am so sorry that the experts are ignoring your posting. I’m a newcomer too, but my guess is that you have to click the link for adding a local repository, since you said your messed-up repo was local. That’s the middle link.

My guess is that Desktop has its own database, separate from git and GitHub, so you have to copy/clone the local repo to a hidden Desktop repo database before you can use Desktop. I hope this helps.

1 Like

As of this writing @david263 my concern is not about installing and using the desktop software. I am worried more about GHDesktop being a “Third Party Software.” I have been advised against using GH for Desktop because it was NOT develeloped by GitHub. I was told TPS most often contain malicious code. Anything? you know about this?

You are a kind humanitarian. It was very kind of you to notice, that the professionals were ignoring me. I was consoling myself on the other hand, that this was the weekend, so be patient. I have been sick for prolonged periods, so I know what it means to be patient. So, David thank you.

btw, what are your interests, why are you here?

1 Like

GitNik, For some reason the Desktop website does not state that it is a GitHub project (I just looked through many Desktop web pages). But its URL is, so it is clearly owned by I do not believe it is 3rd party software for that reason. But, again, I am a newcomer and I can only guess at anything having to do with git.

I have installed GitHub Desktop, GitHub for Windows, and git (which includes gitk, the Git Gui) and I am confused as to why there are at least three “visual” products or which one is best. My guess is that the idea of Open Software includes the right of anyone to make and distribute a new variant of a product without any control over quality, value, completeness, ease of use, speed, or even the reliability of each version. So there is no way to determine which visual git system is best, which JavaScript framework or library is best, which Open Source text editor is best, etc. Each developer has to try one or two product variants and pick one they like. It seems very inefficient and unfair to me, as the best open software products are not likely to become the most popular!

I am interested in creating software tools (system for generating websites, password manager, etc.) and also in teaching meditation ( I am trying to learn git but each learning path ends in failure; the documentation is very unclear, examples sometimes fail, and help via forum doesn’t come in a reasonable time so that progress in learning can be smooth.

This is very different from other products, such as JavaScript, which has websites that give help quickly and which has tutorials that are really easy to understand, with working examples, as well as many websites that let you try out JavaScript programs or portions of website code in many languages and see the results instantly. Distributed versioning is inherently a complex subject and therefore apparently requires a skill in teaching that is rare, according to my experience of the past few days.

Hi @david263 and @gitnick9,

Welcome to the GitHub Community Forum! @gitnick9, the reason your post might have been overlooked by some people is because you replied in an existing topic that was already marked as solved and asked a new, not fully related question. Next time, you could consider opening a new topic. That way your post will be more visible.

GitHub desktop is safe to use (and actually built by GitHub) - it is open source and can be found here: The code is right there, so you can see for yourself that no malicious software is hiding in it.

@david263 Good luck with learning Git! If you have any questions, we are here to help. If you ask a question, please make sure your post is clear and you post your question in the right board. I am sure someone will read your post and assist you in a timely matter! However, all support on this forum is provided by volunteers in their free time across multiple timezones. Therefore you should take into account that it might take a few hours for replies to show up.

You both seem to be a bit confused about all of the different Git GUIs. I’ll try to provide some more info.

GitHub for Windows is the predecessor to  GitHub Desktop (so that is the new name), which is the official GitHub client for Windows. It works pretty well.  Gitk , as you mentioned is included with Git itself. Because Gitk is not software by GitHub, it has no GitHub integration. Therefore you may find it less suitable. Overall, I would say GitHub Desktop is the best choice. But see for yourself - you can use both GUIs alongside each other. Also, there are far more GUIs out there than just these two - GitKraken is also pretty good.

Good luck to both of you and have a great day!

mpboom, Thank you so much for your kind and informative answer to both of us. I am glad to know that I need only learn git command line and GitHub Desktop usage. Now all that is left is learning the commands and workflow, given that all the documentation I can find is problematic and frustrating…

1 Like