This noob screwed up using GitHub Desktop... how to correct a 100mb file with GitHub desktop? #22350
-
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. 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… |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
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 https://desktop.github.com/, so it is clearly owned by github.com. 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 (www.nsrusa.org). 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. |
Beta Was this translation helpful? Give feedback.
-
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: https://github.com/desktop/desktop. 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! |
Beta Was this translation helpful? Give feedback.
-
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… |
Beta Was this translation helpful? Give feedback.
-
hey all, im kind of like very busy man and i think if this is a possibility of maybe any loss of computer security by me using this.? and if anyone knows anything of this admin GitHub security setup i would pay either in BTC or if u live in Canada E-Transfer which is instant, or even just gift card for the place u want to spend it at. i use Bitrefill so i have all the cards on their i could get for whom ever can lend me a hand or give me advice worthy of the gift 📦 MSG ME ASAP IF U CAN HELP PEASE ANY INFO IS GREATLY NEEDED. SUCH AS SAFTY TIPS OR EVEN IF U CAN SETUP MINE I WILL PAY U GOOD AMOUNT SAY 45$ :) I HAVE A FEWE THINGS ID LIKE ON IT THOGUH TOO SO LET'S RAISE IT TO 60$ THATS GOOD SOILD NUMBER. Plz msg me if anyone interested in a small job. |
Beta Was this translation helpful? Give feedback.
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.
An alternative way to reach the Git GUI is trough the Windows…