paint-brush
How to Clean Your Git Historyby@sevilamare
11,017 reads
11,017 reads

How to Clean Your Git History

by Thiago Miranda5mMarch 21st, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow
EN

Too Long; Didn't Read

The main reason is that your new functionality can break another people code and vice-versa, but if you always commit small changes, it will be easier to track and fix, so you avoid a lot of time-wasting by tracking down dozens or hundreds of lines changed in a single commit. Always commit with frequency, finished a function? Commit it, improved style of a single div? commit and so on. Always commit. Clean your history in interactive mode (igit) Clean your commit history in the interactive mode of Git.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How to Clean Your Git History
Thiago Miranda HackerNoon profile picture
Thiago Miranda

Thiago Miranda

@sevilamare

Software Developer

About @sevilamare
LEARN MORE ABOUT @SEVILAMARE'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Thiago Miranda HackerNoon profile picture
Thiago Miranda@sevilamare
Software Developer

TOPICS

Languages

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite