• Michal@programming.dev
    link
    fedilink
    arrow-up
    20
    arrow-down
    2
    ·
    4 hours ago

    In the context of version control it does. Discarding a change that creates a file means deleting the file.

    • Omega_Jimes@lemmy.ca
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      2 hours ago

      Ok fair enough, but I’m under the impression these files existed before the source control was implemented.

      I guess it’s all up to how the program handles existing files.

      • FiskFisk33@startrek.website
        link
        fedilink
        arrow-up
        2
        ·
        2 hours ago

        I guess the newly created git repository was empty, and all the files that was present in the folder represented “changes”