标签云

微信群

扫码加入我们

WeChat QR Code


It's unclear from your question, but did you check them in previously with the old names? Assuming I've understood the current state of your local repo, you need to git rm the old file names and commit the deletions.

2019年01月21日15分02秒

Could you add the output of git status?

2019年01月21日15分02秒

I have not checked anything in. I don't believe I've committed the original names, nor do I have any need for any history with the original names. There are a bunch of files, so if there's something I can do in batch or with a single command, that would be preferred.

2019年01月21日15分02秒

The git status produces a list of all the files I want removed with # at the start of each line. There are no uncommitted files. Then "nothing added to commit but untracked files present (use "git add" to track)"

2019年01月21日15分02秒

So you just don't want these files to be managed by git, and you've never made them known to git. is this correct? If so, is there some reason why just adding these file names to your .gitignore will not work?

2019年01月22日15分02秒

Its deleting files Be Careful

2019年01月21日15分02秒