Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Git

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Git Tools

Access Token for Git

There are a few advantages of using (GitHub, etc.) access tokens for Git, especially in an enterprise environemnt.

  1. Access tokens can provided more fined access …

Reduce Size of Git Repository

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Use Git Large File Storage to Manage Large Files

Git Large File Storage (Git-LFS) is the recommended way to work with large files. Please read the following if have already committed …

Tips on Git-Filter-Repo

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation on Ubuntu / Debian

wajig install git-filter-repo

Example Usages

Note: git-filter-repo changes the history commits of a Git repository which is a dangerous operation. Make sure you know what you are …

Git Implementations and Bindings in Python

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

There are multiple Git implementations/bindings in Python: pygit2, Dulwich and GitPython .

Below is a simple comparison of the 3 packages.

pygit2 dulwich GitPython
Implementation bindings to libgit2 pure Python bindings …