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

Programmer Humor

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

Say you don't know how to use git without saying you don't know how to use git.

[–] bjorney 16 points 3 months ago (3 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] -2 points 3 months ago (1 children)

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

[–] bjorney 3 points 3 months ago

What does git add xxx do then

load more comments (1 replies)
load more comments (13 replies)