How to Clean Your Git Historyby@sevilamare
5,364 reads

How to Clean Your Git History

March 21st 2020
5 min
by @sevilamare 5,364 reads
tldt arrow
EN
Read on Terminal Reader

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

@sevilamare

Thiago Miranda

About @sevilamare
LEARN MORE ABOUT @SEVILAMARE'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa