• bjorney@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    13 days 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
      0
      ·
      13 days ago

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