I keep getting this error when trying to do a pull or a git gc warning: suboptimal pack – out of memory Compressing objects: 100% (10955/10955), done. fatal: Out of memory, malloc failed (tried to allocate 827101023 bytes) error: failed to run repack How would I go about fixing this?
This question already has an answer here: How to programmatically determine the current checked out Git branch 19 answers
Every time I try to push anything to GitHub it asks me the address firstname.lastname@example.org:… and after that it wants the passphrase. Is there a way to automate this? I am using Linux Ubuntu.
My current base has a total size of approx. 200MB. but my .git folder has an amazing size of 5GB (!). since i push my work to an external server, i don’t need any big local history… how can i shrink the .git folder to free some space on my notebook? Can i delete all […]
I want to have a bare git repository stored on a (windows) network share. I use linux, and have the said network share mounted with CIFS. My coleague uses windows xp, and has the network share automounted (from ActiveDirectory, somehow) as a network drive. I wonder if I can use the repo from both computers, […]
Considering that Git does not recognize symbolic links that point outside of the repository, is there any problem using hard links? Could Git break them? Can you please point me to detailed information?
Whenever I try to push into my repo git asks for both username & password. I have no problem in re-entering my password each time but the problem is in entering username. I use https to clone my repository. So, how can I configure git so that it doesn’t asks for username on each git […]
I have this problem when i try to push in git: error: insufficient permission for adding an object to repository database ./objects fatal: failed to write object error: unpack failed: unpack-objects abnormal exit To ssh://<repo url>/<repo dir> ! [remote rejected] master -> master (n/a (unpacker error)) error: failed to push some refs to ‘ssh://<repo url>/<repo […]
I’m using Linux and I created keys as instructed in the github tutorial, registered them with github, and tried using ssh-agent explicitly — yet git continues to ask me for my passphrase every time I try to do a pull or a push. What could be the cause?
I used the usual: yum install git But it did not install the latest version of git on my CentOS 6.4. So, how can I update to the latest version for CentOS 6.4? Note: The solution can be applicable to other newly released versions of CentOS such as CentOS 7.x.