mirror of
https://github.com/therootcompany/golib.git
synced 2026-04-24 12:48:00 +00:00
The shallow clone is a read-only mirror, so a force-push on the upstream branch caused pull --ff-only to bail with "refusing to merge unrelated histories". Switch to git fetch + git reset --hard origin/<branch> so the local copy always tracks upstream, force-push or not. Auto-detects the branch from origin/HEAD when Branch is empty.
golib
Sometimes a little copying, sometimes a little dependency. Too small for their own repos.
The default branch is dev, but the stable, versioned tags are based on main.
Also, my Go Cheatsheet:
Languages
Go
100%