• bjorney@lemmy.ca
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    11 hours 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
      arrow-down
      1
      ·
      2 hours ago

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