Skip to content
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 status shows files as modified #2900

Closed
serpro69 opened this issue Feb 2, 2018 · 1 comment
Closed

Git status shows files as modified #2900

serpro69 opened this issue Feb 2, 2018 · 1 comment

Comments

@serpro69
Copy link

serpro69 commented Feb 2, 2018

I have found a similar issue here: #184 however none of the proposed fixes seem to be working anymore.
Whenever I do git status under bash on WSL all files are in 'modified' state, whereas under powershell working dir is clean. If I commit files in under bash in WSL, the situation is reversed - under powershell all files become modified (naturally).

My gitconfig has the following settings proposed in linked issue;

autocrlf = true
eol = lf
filemode = false

I also tried playing around with these settings and had no luck to fix this behavior.

@serpro69
Copy link
Author

serpro69 commented Feb 2, 2018

Setting these

git config core.autocrlf true
git config core.filemode false

on project level actually helped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant