New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git clone -> Changes not staged for commit #9492
Comments
what does it show when you do a |
errors:
|
Looks like the files have windows line endings which we could change to Linux endings. I couldn't reproduce it though: git config --list
user.email=yyy
user.name=yyy
filter.lfs.clean=git-lfs clean %f
filter.lfs.smudge=git-lfs smudge %f
filter.lfs.required=true
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=git@github.com:piwik/piwik.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master These changes could be ignored with |
maybe try |
It works \o/ Merci ! |
It works with this repository but does not with mine :/ Cannot stash changes :/
|
@dhoko I'm not sure what the problem is. feel free to create new fork if it helps 👍 |
Here is a solution:
EDIT: and another one simpler?
|
This is still a problem when you clone 2.16.2, these files have the wrong line endings:
|
All CRLF fileendings should have been replaced since in #11869, so the error shouldn't occur anymore. |
I think you need to run: |
git pull --allowed-unstaged-changes will work. |
Hi,
After a git clone I've got some some Changes not staged for commit :/
The text was updated successfully, but these errors were encountered: