You are viewing a single thread.
View all comments View context
18 points

fetch, reset --hard, checkout -b and cherry-pick?

:-D

permalink
report
parent
reply
13 points

Nah, rebase -i, squash, fsck and reflog

permalink
report
parent
reply
11 points
*

Must be an interesting work if you never add, commit or push.

Edit: How the hell did you get the repo without clone?

permalink
report
parent
reply
11 points

Pshaw, real programmers write out the contents of .git by hand.

(Also, it was a joke, the last two commands I listed are ones you’ll ideally never need in your life)

permalink
report
parent
reply
6 points

reflog saved my life once after a stupid misshap.

All rebase are belong to us (onto, rebase, and ofc interactive) but what’s fsck (I don’t squash personally)?

permalink
report
parent
reply
4 points

Fsck is File System Check - realistically you should never need to use it.

permalink
report
parent
reply
11 points
*

More like clone, pull, commit, and push --force

>:-D

permalink
report
parent
reply
3 points

push origin head

^^

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 6.6K

    Monthly active users

  • 988

    Posts

  • 38K

    Comments