Use git add --patch for better commit history and mitigating bugs

InstructorRory Smith

Share this video with your friends

Send Tweet

Let's split our changes into separate commits. We'll be able to check over our changes before staging them all from the terminal. Then, we'll see the positive effect it has on our commit history.

Neil
~ 8 years ago

This trick is really awesome! thumbsup!

Tre' Codez
~ 8 years ago

Which editor (ide) is that?

Rory Smithinstructor
~ 8 years ago

Thanks!

Rory Smithinstructor
~ 8 years ago

It's VS Code :)

Tre' Codez
~ 8 years ago

Ah, cool. I've not seen that theme before. ☻