hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 11 months agoManager: This task only takes 30 minutes. Why did it take you the whole day?programming.devimagemessage-square84fedilinkarrow-up1747arrow-down18
arrow-up1739arrow-down1imageManager: This task only takes 30 minutes. Why did it take you the whole day?programming.devhypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 11 months agomessage-square84fedilink
minus-squarefoxymulder@lemmy.mllinkfedilinkEnglisharrow-up37·11 months ago“patch mode” - Patch mode allows you to stage parts of a changed file, instead of the entire file. This allows you to make concise, well-crafted commits that make for an easier to read history.
minus-squaresip@programming.devlinkfedilinkarrow-up6·11 months agouuuuuuuu. and you could do -m to describe the commit. next they’ll add --push/-P. perhaps add -r for fetch/rebase then commit. one command to rule them all! 😈
Psst,
git add -p
What does this?
“patch mode” - Patch mode allows you to stage parts of a changed file, instead of the entire file. This allows you to make concise, well-crafted commits that make for an easier to read history.
Yay, learning!
Better yet,
git commit -p
uuuuuuuu. and you could do -m to describe the commit.
next they’ll add --push/-P.
perhaps add -r for fetch/rebase then commit.
one command to rule them all! 😈