this post was submitted on 25 Nov 2023
924 points (97.2% liked)

Programmer Humor

31793 readers
256 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] IAm_A_Complete_Idiot 4 points 9 months ago* (last edited 9 months ago) (1 children)

Better have not created any new files tho - git commit -a doesn't catch those without an add first.

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (1 children)

So we need git add . && git commit -a here really

[–] IAm_A_Complete_Idiot 2 points 9 months ago

In which case the -a isn't needed.