DEV Community

Discussion on: Up your git game with --patch

Collapse
 
vlasales profile image
Vlastimil Pospichal • Edited

You changed (destroyed) functionality in first hunk - you deleted role parameter and you left assignment into role attribute.

Collapse
 
thejessleigh profile image
jess unrein

Oh, that was an oversight on my part. Thanks for catching that. I will fix that in a bit!

Collapse
 
vlasales profile image
Vlastimil Pospichal

Thanks for your article!

Collapse
 
thejessleigh profile image
jess unrein

Article has been updated to reflect this, and I added a bit about popping into your terminal's default editor to manually stage changes for commit. Thanks again for the catch!