Git Pull removing files

Asked

Viewed 267 times

5

I have the following problem: I’m performing one git pull and by bringing from the server something, the commit is automatically removing files.

Example :

 removing Projeto/arquivoX
 removing Projeto/arquivoY
  • 1

    And what is your question?

  • Something similar happened on my project. For some reason files of the same name but of different sensitive case git considers as different files. So while deleting a file and pushing, other users, for example windows, who have operating system that does not recognize with two different files, while pulling had their files deleted. For example: "module. c" and "Module. c" may exist in the git repository but only one file can exist in windows, generating this behavior. This is your case?

1 answer

1

In the changes above your revision, these files have been removed?

Review the above revisions, and see if any commit exists with these removals. If it exists, logically these files will be removed from your local repository.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.