this post was submitted on 25 Nov 2023
787 points (97.5% liked)

Programmer Humor

32549 readers
522 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
[โ€“] nao@sh.itjust.works 8 points 1 year ago (1 children)

no changes added to commit (use "git add" and/or "git commit -a")

[โ€“] rufus@discuss.tchncs.de 2 points 1 year ago* (last edited 1 year ago) (1 children)

It should (at least) be:

git commit -a -m "๐Ÿšจ๐Ÿ”ฅ๐Ÿšจ"
git push --force

Better, create a new branch and push it to origin(?).

Relevant The IT Crowd

[โ€“] IAm_A_Complete_Idiot@sh.itjust.works 2 points 1 year ago* (last edited 1 year ago)

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