DEV Community

Discussion on: Resume your Work with Git

Collapse
 
sertal70 profile image
sertal70

I always do a branch for any work I’m going to do on a project and commit the code every day to have a backup. I also put this mandatory rule for all team members of my projects. But I always wondered how to get back the history of changes as if the commit were not yet done, thanks for this very useful hint!

Collapse
 
juristr profile image
Juri Strumpflohner

🙂 glad you find it useful