• bjorney@lemmy.ca
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    1 month ago

    Git doesn’t automatically recursively add all files in the directory to the repository though - VSCode decided that should be the default behavior, while other editors (intellij) ask if you want to add newly created files to version control

    • ApexHunter@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      That’s how git works. Every file and subfolder under the repo’s root folder belongs to the repo.