September 15, 2023 ~ 1 min read

Dirty Git tree


A code snippet for when the git repo has unstaged changes

system.configurationRevision = if (self ? rev) then
  self.rev
else
  throw "refuse to build: git tree is dirty";

Sebastian BolaƱos

Hi, I'm Sebastian. I'm a software developer from Costa Rica. You can follow me on Twitter. I enjoy working on distributed systems.