A
A
axel2016-12-07 22:08:40
git
axel, 2016-12-07 22:08:40

Why is Git acting so weird?

The issue is Gita's strange behavior. So the situation is:
Until now I have been using Git as part of cygwin. All work on all projects where it was used was committed.
Now, for some reason, I had to abandon cygwin, and I installed git fully, into the operating system, as an application. And now, having entered the directory with any of the projects, where, I repeat, everything is committed, the git status command gives me the entire set of project files, as if this is the first commit. There is a .git folder, git log works, that is, all the commits made are displayed. Why does git status work so strangely, why does it offer to commit all files again? Git is already initialized, and there is the whole story .... Why is that?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
aol-nnov, 2016-12-07
@aol-nnov

autocrlf. infa 99.98%
you still diff look at the changes and be surprised :)

V
Victor, 2016-12-07
@v_decadence

Looks like a corrupted .git/index, might help
!!! This will remove all uncommitted changes!!!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question