Skip to content

Repo server failed to perform checkout: Your local changes to the following files would be overwritten by checkout #220

@jessesuen

Description

@jessesuen

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")

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions