this post was submitted on 25 Nov 2023
924 points (97.2% liked)
Programmer Humor
32443 readers
891 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
no changes added to commit (use "git add" and/or "git commit -a")
It should (at least) be:
Better, create a new branch and push it to origin(?).
Relevant The IT Crowd
Better have not created any new files tho - git commit -a doesn't catch those without an add first.
So we need
git add .
&&git commit -a
here reallyIn which case the -a isn't needed.