Big bang changes

Leena
Leena
Mar 30 · 1 min read
Image for post
Image for post

I am making too many uncommitted changes. I am not taking small steps, not the continuous delivery way.

Even though I am a practitioner of continuous delivery, at times, I make big changes. It usually happens when I start working, and then move on to something because of an emergency. Or we decide to hold on the feature we started with. It can also happen when I am experimenting with an idea or a library.

But I quickly become aware of the mistake. It is not because I need to follow the rule. I know that too many changes can bring breaking changes.

What I usually do in those situations?

git reset --hard
git clean -fd

I revert the changes and start fresh. That way, I add only the required changes. We think it takes longer to implement the changes again. Surprisingly, it is usually faster because:

  • We know what needs to be done, we have taken the path already. Similar to the Tracer Bullet concept from Pragmatic Programmer.
  • We tend to avoid unnecessary code because we know what is needed and what is not.

Continuous Delivery

Tidbits about Continuous Delivery

Leena

Written by

Leena

Co-founder/CTO @ Good Karma, Bangalore, India. A strong believer of lean principles, an evangelist and practitioner of Continuous delivery

Continuous Delivery

Tidbits about Continuous Delivery

Leena

Written by

Leena

Co-founder/CTO @ Good Karma, Bangalore, India. A strong believer of lean principles, an evangelist and practitioner of Continuous delivery

Continuous Delivery

Tidbits about Continuous Delivery

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store