Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Moved from OS X to Windows, repo has lots of uncommitted changes

Paul Manta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 7, 2014

I just move a Git repository from OS X to Windows (I copy-pasted it) and now both text and binary files (PNG, TTF) have uncommitted changes. When I click an individual file to see what's changed, SourceTree doesn't show any differences.

I suspect this has something to do with line endings. I tried creating a .gitattributes file that marked PNG and TTF files as binary, hoping that Git would ignore them, but it didn't work (it made no difference).

*.png binary
*.ttf binary

I have difficulty in solving this problem because I don't know for sure what the cause is, because I don't know what the solution should look like, and I don't know how to actually implement the solution (I'm new to Git).

How ca this problem be solved? 

1 answer

0 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 8, 2014

And how did you move? Copy & paste?

The proper way should be a git clone --bare. Go ahead and Google the solution. smile

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events