Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have just recently backed-up my XCode C++ project on my pendrive, using

rsync -avu 

Since then, the version control for my project is lost (grayed-out) on every files, I can modify the files and not see the "M" nor the "A" sign. The only files still having version-control working "shared" files for which it works correctly. (Those shared files belong to a different project called "Shared").

I have tried git commit -m, git add . and even git init where the files were. Nothing worked.

Can you please help restoring version control for my project?

(Is this rather an SO question?)

share|improve this question

You must log in to answer this question.

Browse other questions tagged .