I want to rename SystemDBContext.cs
to SystemDbContext.cs
and when I try renaming the file like this:
git mv SystemDBContext.cs SystemDbContext.cs
I get the following error:
fatal: destination exists, source=BabyChangeFinder/DataAccess/SystemDBContext.cs, destination=BabyChangeFinder/DataAccess/SystemDbContext.cs
I checked the directory; the destination definitely doesn't exist:
$ ls
SystemDBContext.cs
Anyone know what's going on here?
Try
git mv --force SystemDBContext.cs SystemDbContext.cs
or
git mv -f SystemDBContext.cs SystemDbContext.cs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With