That’s why I’ve got my IDE configured to make a commit and push for every single ctrl-s.

And one more thing, I’m not going to squash before my final PR.

EDIT:

For those of you interested, here’s my gitconfig alias to help with this workflow:

[alias]
    ctrl-s-commit-push="!f() { count=$(cat count.txt); git add .; git commit -m \"$(date): commit $count\"; git push;}; f"

IMPORTANT: For those who are downvoting, yes, my entire comment is sarcasm, lol! Do not ever do anything like this in a shared repo, ever! If you actually do this in a shared repo, your access will likely be revoked the moment someone sane and competent realizes what you’re doing.

Addendum: In that alias, I would’ve used left angle bracket instead of cat, but apparently lemmy scrubs those. I even tried the entity for it, but no go for either.

ntzm [he/him]
link
fedilink
English
31Y

Wouldn’t that mean you just have shit tons of commits? What about the commit message?

@EatATaco@lemm.ee
link
fedilink
English
71Y

“Hit Ctrl-S”

The more the merrier. I edited my comment above to show my git alias for comments :)

macniel
link
fedilink
01Y

Timestamp would suffice

ntzm [he/him]
link
fedilink
English
11Y

I meant whatever works for you, but if a coworker did that I would be fuming

ripcord
link
fedilink
31Y

That sounds just awful. But ok.

TickleMeElmo
link
fedilink
21Y

I’d expect the poo emoji at that point.

@EatATaco@lemm.ee
link
fedilink
English
81Y

And one more thing, I’m not going to squash before my final PR.

Pure evil.

Your sarcasm is brutal! That’s sarcasm, right? RIGHT?!

jelloeater - Ops Mgr
link
fedilink
English
41Y

Squash and Force Push. Your whole life in one line.

Ignotum
link
fedilink
31Y

Combine that with my pre-push hook that runs linting and tests, which takes about 10 minutes, and you’re gonna have a good time

I’ve long ago disabled the tests and only run linting now, i’m not a machochist

Create a post

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.
  • 1 user online
  • 77 users / day
  • 211 users / week
  • 413 users / month
  • 2.92K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.8K Comments
  • Modlog