Mastering Git: Amending Commits

How to change your previous commit using git amend

Philip Wilkinson, Ph.D.
Towards Data Science
5 min readSep 20, 2022

--

Photo by Praveen Thirumurugan on Unsplash

Git is a tool that all Data Scientists and Software Engineers should know how to use. Whether you work on a project alone, or work as part of a large distributed team, understanding how to use Git can save you a lot of time in the long run. One of the key functionalities of git is the ability to undo, redo or edit changes…

--

--