I created a new branch from dev and all the files are showing up as needing to be staged. I searched around and this apparently has to do with some CRLF setting?
In my .gitconfig file (C:\users\myself\.gitconfig) I have the lines
text = auto
autocrlf = true
As per what I saw I created a .gitattributes file in this same folder and that has the line
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
Not knowing what I am doing I also created the same file with same contents in the root folder of the git project (the one that has the .git subfolder)
None of this seems to help.
"git status" command works correctly and shows only the files needing to be staged.
I'd like to use sourcetree, so could you please help?
I have the exact same issue, all files shown as "Unstaged". But using git cmd line, everything is actually staged.
my env:
win 10, sourcetree 1.8.3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If "git status" is showing the right stuff, then something strange is happening, and it probably isn't a line-ending issue.
What version of SourceTree do you have installed?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.