Using Git Reset Without Fear

Joseph Emswiler
2 min readMar 4, 2020
Photo by Yancy Min on Unsplash

It’s your worst nightmare. Getting a little too confident, running a few git commands in quick succession, and suddenly… your meticulously coded contributions are gone. For most developers, using Git to add changes is second nature. Make a change, stage, commit, push, sip coffee, done. However, for some developers, using Git to remove changes brings paralyzing terror. It shouldn’t. Git reset allows us to unstage, uncommit, and, if we need…

--

--

Joseph Emswiler

Software engineer with experience in GovTech, FinTech, LegalTech, and HealthTech. Follow for stories about modern full stack web development.