News for hackers. Stuff that matters.
Re:Comparing Git Workflows by pkamb on Thursday May 26, 2016 @08:49PM (#11783064)
If you're working on branch `myFeature`, simply branch to `myFeature_BACKUP` and commit your entire working copy with commit message "WIP for the night; for remote backup only". Push this to the remote to back it up and protect against a lost laptop.

The next day, do a "reset --mixed" from the tip of your backup branch back to your last good commit on the feature branch. This brings all of the remote backup code into your working copy. From there, start work again and begin making staged commits of atomic changes.

There are no comments on this comment yet.