this post was submitted on 20 Nov 2024
867 points (97.6% liked)

Programmer Humor

19623 readers
6 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
867
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 16 points 1 week ago (2 children)

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

[–] [email protected] 1 points 6 days ago* (last edited 6 days ago)

I just hate the vscode source control. It has always felt clunky and like it breaks things (or i just never figured out the workflow - either way i dont need it lol) It is way clearer to see what is happening the console

[–] [email protected] -2 points 1 week ago (1 children)

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

[–] [email protected] 3 points 1 week ago

What does git add xxx do then