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

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

How to install git / git-bash on Windows

When you need to work with git on windows, the very first thing you need to do is install git on Windows. This post describes the same, Visit git website and then click on “Windows” or you can alternatively visit website which downloads Git exe “Git-2.26.0-64-bit.exe” . You may see different version as … Read more

Solved : fatal: refusing to merge unrelated histories

As we seen in our previous post, “Pushing your first git repository / project to Github” we tried to push our local git to already existing git at github. While doing this, we had two different independent repositories with separate contents committed at local git and git at github. Now, when we tried to pull … Read more