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 https://review.opendev.org/ . 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 https://git-scm.com/downloads and then click on “Windows” or you can alternatively visit website https://git-scm.com/download/win which downloads Git exe “Git-2.26.0-64-bit.exe” . You may see different version as … Read more

How to install Gitiles – repository browser for Git repositories on Ubuntu Linux

Gitiles is a simple repository browser for Git repositories, built on JGit. Its guiding principle is simplicity: it has no formal access controls, no write access, no fancy Javascript, etc. Gitiles automatically renders *.md Markdown files into HTML for simplified documentation. Gitiles requires Bazel to build. You need to use Java for building Gitiles. Below steps installs Bazel and … Read more