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 …

Use nbdime to Diff and Merge JupyterLab Notebooks

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

nbdime is a tool for diffing and merging of Jupyter notebooks. Notice that nbdime integrates with git well.

Tips and Traps

If you install nbdime to your local directory, make sure …

Git Large File Storage

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

Installation

Please refer to git-lfs Installation for instructions on how to install git-lfs.

Tips and Traps

  1. Track a large file.

    git lfs track "*.pickle"
    
  2. It seems to be that git-lfs automatically …

Git Errors and Solutions

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

git clone throws the error message "fatal: unable to fork"

The reason is due to missing SSH.

The solution is simply to install openssh-client.

sudo apt-get install openssh

git pull throw …