git-xargs
git-xargs copied to clipboard
Error on one repository : worktree contains unstaged changes
Describe the bug When I try to apply a "command" to a list of reporitories it works perfectly on all of them except for one that return the error in attached.
Error="worktree contains unstaged changes"
To Reproduce
I can't reproduce it manually, I try to clone the project and checkout a new branch with this command git checkout -b "core/update"
but I can't reproduce the error "manually".

Expected behavior
Normal behavior, so checkout and apply the command.
Update :
I also try with a simpler command
git-xargs \
--loglevel DEBUG \
--branch-name test-branch \
--repo dktunited/dktrent-core \
--commit-message "Create hello-world.txt" \
touch hello-world.txt
+1 experiencing this also
No one has find a solution?
The only way to solve this problem for me was delete and recreate the project, a little bit heavy as solution...
No one have a solution to this problem?
I am also experiencing this in repos containing ~60k files after checkout. The working tree is not dirty when I clone it manually via git CLI.
We are also experiencing the same problem. Any solution for same.
I was running into this error as well. It turned out that we had two git paths with the same name but different case (ie src/utils/Sidebar.jsx vs src/Utils/Sidebar.jsx). After consolidating the paths this error went away.