Monday 15 April 2013

How to add all new folders and files to Git? -


I cloned a repo, and then copied it to a folder containing many subfolders and files.

I then took part in git.

However, this only added a single, empty folder to the repository.

Is it all about adding again? I have tried git add-A and git add-u, they do not work.

Thank you!

According to the comments in your question: You had repositories copied in your repository itself repository (i.e. They had a .git folder.).

Git will not allow you to track the files that are already being tracked by another GIT repository.

No comments:

Post a Comment