Development Tools Introduction to Git Managing Committed Files Moving Files

1 Answer

adrian miranda
adrian miranda
13,177 Points

Assuming your code is what you showed:

git mv chapter3.text to chapter3.txt

Then the problem is just to the word to, which isn't needed. All you need to say is git mv oldname newname. So remove the "to", and I think you will be fine.