Answer the question
In order to leave comments, you need to log in
How to revert project files to the same folder in Git?
I was working on a project and then I renamed the cleanUp folder to CleanUp. After uploading to the repository, I saw on github that the contents of the folder were distributed between the cleanUp and CleanUp folders on the server, although locally I don’t have a cleanUp folder. How to move all documents to CleanUp and what was my mistake?
Answer the question
In order to leave comments, you need to log in
git mv -f cleanUp CleanUp
git commit -m 'Перенос файлов в CleanUp'
git push
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question