Error when updating the public repo #15
mgutierreztudelft
started this conversation in
General
Replies: 1 comment 2 replies
-
As the error message suggests, you should revert any changes to the files tracked by git which includes |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
When I update the public repo by introducing "git fetch upstream
git rebase upstream/main" in the wsl2, an error occurs: error: cannot rebase: "You have unstaged changes.
error: Please commit or stash them."
I tried by introducing git rebase --autostash upstream/main but another error followed: "error: The following untracked working tree files would be overwritten by reset --hard:
data/.gitkeep
Please move or remove them before you reset --hard.
Aborting
fatal: could not reset --hard"
Anything that would help update the github repo would be appreciated.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions