• Home
  • Health
  • Software
  • Blog
  • windows

    Get Rid of File Tracking Metadata

    Windows saves tracking data on files downloaded from the Internet. If you copy paste a file and see stuff like this in your project:

    Untracked files:
      (use "git add <file>..." to include in what will be committed)
            public/assets/check.svg
            public/assets/check.svg:Zone.Identifier
            public/assets/spinner.png
            public/assets/spinner.png:Zone.Identifier
            public/assets/spinner.svg
            public/assets/spinner.svg:Zone.Identifier
    


    ...It will annoy you.


    To remove the problem: Run gpedit.msc (Win + R) and go to:

    User configuration

    > Administrative templates

    >Windows Components

    > Attachment Manager and set Do not preserve zone information in file attachments. (to run gpedit.msc you’ll need Windows Professional)