▲ 792 ▼ Manager: This task only takes 30 minutes. Why did it take you the whole day? (programming.dev) submitted 2 years ago by hypnotic_nerd@programming.dev to c/programmer_humor@programming.dev 95 comments fedilink hide all child comments
[–] PoolloverNathan@programming.dev 4 points 2 years ago (1 child) ^psst,^ ^git^ ^add^ ^-p^ permalink fedilink source parent hideshow 2 child comments replies: [–] etchinghillside@reddthat.com 3 points 2 years ago* (1 child) Remind me what -p does. Edit: never mind - I see it mentioned below. permalink fedilink source parent hideshow 2 child comments replies: [–] PoolloverNathan@programming.dev 3 points 2 years 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.) permalink fedilink source parent
[–] etchinghillside@reddthat.com 3 points 2 years ago* (1 child) Remind me what -p does. Edit: never mind - I see it mentioned below. permalink fedilink source parent hideshow 2 child comments replies: [–] PoolloverNathan@programming.dev 3 points 2 years 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.) permalink fedilink source parent
[–] PoolloverNathan@programming.dev 3 points 2 years 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.) permalink fedilink source parent