Fixed : git error: inflate: data stream error (invalid distance code)

Recently somehow our git got corrupted and we couldn’t push our code to server and got an error as, “error: inflate: data stream error (invalid distance code)” and “error: corrupt loose object” When we tried below commands like “git gc –prune” or “git gc –aggressive –prune=now” or “git fsck” the error was shown as same … Read more

Solved git error – fatal: unknown index entry format 0x16700000

Recently we did one find and replace in our existing git using command mentioned at “Grep and replace string from source code using command in Linux” but this somehow broke our git and we got a following error when tried to do git status, Solution : This error can be resolved as, And now if … Read more

How to clone a large git repository

Recently, I needed to clone the ndk while downloading andorid source, ndk size to clone was more than 4GB and my internet speed 512KB, which could take around 20 hours to clone. And, as you know if for any reason, Internet disconnects before git clone is 100%, the entire git needed to be clone from … Read more

Top Free websites for Source Code Management and Documentation


Are you looking for some Free, Cool tools for managing your source code, want to hosting your website or have some documentation / write-ups to note ? You have reached a right post 🙂 check below some one the cool online tools, Source Code Management Github – github allows you to create as many source repositories … Read more

How to create repository mirror onto github

Recently we wanted to create a yocto cgit repository mirror onto our github which should track our changes as well as yocto git,  follow below steps to create a mirror on github, This assumes, we are cloning into poky-mirror directory on our local machine ~/Desktop/devlab/yocto and we have create a new repository named “poky” into our … Read more

Important gerrit commands

This post list the details of some of the important gerrit commands which we have tried, (This post will be updated as and when we use the commands) Note: The gerrit commands are executed on Ubuntu gerrit review server . You may need to register to execute same commands on this server. Check gerrit … Read more