One repo server is encountering the following issue during checkout:
'git checkout --detach origin/HEAD' failed: error: Your local changes to the following files would be overwritten by checkout:
When I logged into the server it had modified files:
# git status
HEAD detached at a9e4f72
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: environments/prod/params.libsonnet
no changes added to commit (use "git add" and/or "git commit -a")