Git: renamed file manually, Git confused
问题 I am using Git and manually renamed a file that I had added to the repository. Now, I have added the "new" file which I renamed to the repository but Git complains that the "old" file has been deleted. So how can I make Git forget about the old file? Better yet, how do I tell Git that the "new" file really is the "new" file so that I can keep the change history intact? 回答1: There is no problem. Simply git rm old or even git add -A and it will realize that it is a rename. Git will see the