Search code examples
git

How to remove only intent-to-add files from index in git?


Is there a way to remove from an index with a single command only those files that have been added with -N flag?


Solution

  • No. Git doesn't keep track of which files were added with -N and which were simply empty.