Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been working with Git in order to learn from it. But I did something wrong to have a directory that large.
I have checked the internet to understand what I could have done wrong, but I didn't quite understand it.
First question: could someone explain to me, please, what I could have done wrong.
Second question: since this is just a tryout on my part without anyone participating, how can I make a fresh start? Simply deleting the contents of the folder?
What did you ?clone?, "get", download? (were they "big trees"?)
Start over: uninstall git pkg, make sure .git is gone, install git, carefully understand what you "fetch"
(use very slow internet, but that's different&crazy idea)
You probably not going to believe this. This is the folder that I found: /home/.git/vimrcfile/.git./ with all the folders like objects, hooks, branches, logs etc.
So essentially, I have a git within a git or something like that.
I am going to uninstall git like !!! has suggested. I will uninstall git and carefully understand what I fetch.
I am pretty new to this, so I really appreciate your answers. Thank you.
This folder is a Git repository. "Ook! Ugk! MajorVoodoo!" Touch Not!
What's most likely to have happened here is that you aren't making good use of the .gitignore facility: you committed big binary files and maybe lots and lots of them, all of which don't need version-control.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.