Abik Maharjan · Backend Developer

WritingKathmandu--:--:--

← Work

cliactive

gopull

One command to bring every repository on the disk up to date.

Role
Author
Language
Go
Started
Last touched
Licence
MIT

A machine that has been worked on for a few years accumulates dozens of checkouts, and every one of them drifts. gopull walks a directory tree, finds each git repository underneath it, and pulls them all — sequentially when you want to read the output, in parallel when you just want it done.

It is written in Go for one reason: a single static binary with no runtime to install is the correct shape for a tool you want on every machine you touch, including the ones you only have a shell on.

Built with

  • Go
  • git plumbing
  • goroutines