Skip to content

error: the following files have changes staged in the index #4

@webjay

Description

@webjay

I'm getting this error from the command git --work-tree dist rm -r '*', would you recommend --cached or -f?

error: the following files have changes staged in the index
(use --cached to keep the file, or -f to force removal)

My guess is that it is caused by the branch having existed previously?

Btw, thanks for a great script. I use it at journster.com

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions