How to recover from a git mistake - Publik Talk

Breaking

An informative website for every one.

Post Top Ad

Post Top Ad

Friday, August 18, 2017

How to recover from a git mistake




How to recover from a git mistake

Today my colleague almost lost everything that he did over four days of work. Because of an incorrect git command, he dropped the changes he'd saved on stash. After this sad episode, we looked for a way to try to recoverhis work... and we did it!

First a warning: When you are implementing a big feature, split it in small pieces and commit it regularly. It's not a good idea to work for a long time without committing your changes.


read more

Author: jvanz
Published at: Fri, 18 Aug 2017 03:00:00 -0400

Credits: https://www.opensource.com

No comments:

Post a Comment

Post Top Ad