How do I make to some of the files that I have changed is not offered in the commit?

后端 未结 4 912
野性不改
野性不改 2021-01-31 03:35

I use TortoiseGit 1.8.3. I changed one of the files: Makefile, but I want to not offer commit it to me every once in a Git Commit. I added it to the \"delete and add to ignore l

4条回答
  •  Happy的楠姐
    2021-01-31 04:10

    If I'm interpreting the question correctly, Alex wants to know how to undo an --assumed-unchanged action done using Tortoise Git.

    You don't need to use command line Git to fix this:

    1. Navigate to the file(s) you did this action on in windows explorer,
    2. Right-click and choose Properties,
    3. Select the Git tab, there you should see a checked box next to "Assume valid/unchanged".
    4. Uncheck it and it won't be ignored by commits moving forward.

提交回复
热议问题