Skip to content

"Nothing to commit, working tree clean" when there are clearly files to commit and push #104

@Yijia-Chen

Description

@Yijia-Chen

I was using this repo to clone an entire private repo to another private repo to wipe the commit history. All the steps till git status were successful — the hook listed all the files and folders in the root directory. However, the git status stage had the following result:
image
Which lead to nothing being committed and pushed. The target repository is clearly different from the source repository, and the target branch is present. Would love to get help on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginformation neededMore details are required for clarity or further action on this issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions