I have tried every syntax I can think of but nothing has worked.
My repo all my files are in Files\MyFiles and I want to move them into the root of the repo.
The only command that has actually done anything without an error is
git mv ./Files/MyFiles/ ./
However all this did was move the MyFiles folder up one level. What I wanted to do was remove both of these folders so just the contents of MyFiles was in the root of the repo.
I have tried all kinds of stuff, adding wildcards, dots, changing the folder I'm in etc. but nothing has worked, I always get some variation of an error.
Is there a way to use this command correctly?
e.g.
C:\git\MyRepo [master ≡]> git mv ./Files/MyFiles/* ./
fatal: bad source, source=Files/MyFiles/*, destination=*