735
submitted 19 hours ago* (last edited 19 hours ago) by Maven@lemmy.zip to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] bjorney@lemmy.ca 15 points 17 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 -1 points 8 hours ago

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

[-] bjorney@lemmy.ca 2 points 3 hours ago

What does git add xxx do then

this post was submitted on 20 Nov 2024
735 points (97.5% liked)

Programmer Humor

19622 readers
2289 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS