跳轉到

Frequent Commands

Push all the changes

git add .
git commit
git push origin master && git push self master && git push gl master 

Show config

git config -l --show-origin

Cleanup unrefs (source)

#!/bin/bash
set -xeuo pipefail
git reflog expire --all --expire=now
git gc --prune=now --aggressive

Fetch all ref (source)

git fetch --unshallow