Skip to content

Repo: prettier-update.yml errors on git push: "fatal: You are not currently on a branch." #7480

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Suggestion

From #7425 -> https://github.com/typescript-eslint/typescript-eslint/actions/runs/5772703419/job/15647950043?pr=7425:

...
tsconfig.eslint.json 1ms
Done in 24.80s.
[detached HEAD 560d50c] chore: update formatting after prettier upgrade
 15 files changed, 66 insertions(+), 25 deletions(-)
fatal: You are not currently on a branch.
To push the history leading to the current (detached HEAD)
state now, use

    git push origin HEAD:<name-of-remote-branch>

Error: Process completed with exit code 128.

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workingrepo maintenancethings to do with maintenance of the repo, and not with code/docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions