this post was submitted on 12 Dec 2023
787 points (99.0% liked)

Programmer Humor

19623 readers
96 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] PoolloverNathan@programming.dev 4 points 11 months ago (1 children)
[–] etchinghillside@reddthat.com 3 points 11 months ago* (last edited 11 months ago) (1 children)

Remind me what -p does.

Edit: never mind - I see it mentioned below.

[–] PoolloverNathan@programming.dev 3 points 11 months ago

Patch add - it shows you particular changes you made, and you choose whether or not to include them in the commit. (You can then use git stash -k to stash only the changes you did not add, so you can test before you commit.)