1097
(page 4) 30 comments
sorted by: hot top controversial new old
[-] Korne127@lemmy.world 1 points 8 months ago* (last edited 8 months ago)

How about git commit-tree [Hash] -p branch1 -p branch2 … -m "Dummy Message"

[-] Sorse@discuss.tchncs.de 1 points 6 months ago

My git knowledge:

git clone <url>

[-] psivchaz@reddthat.com -2 points 8 months ago

All these comments and no one is going to point out that this is invalid?

The git stage and git commit don't have any terminator, so it's all one "command" and will fail. Then there's a single & between git commit and git push, so it would run in parallel, so it would also fail.

Also, don't git stage . people. Or at least do a git status before to make sure you didn't stage file-with-all-the-production-secrets

load more comments (2 replies)
load more comments
view more: ‹ prev next ›
this post was submitted on 03 Mar 2024
1097 points (97.8% liked)

Programmer Humor

19623 readers
1 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