3 ms·
A git script named wip-push that commits changes in my working copy with the message "WIP". A git script named wip-pop that undoes the head commit, leaving the
by foreigner 5y ago
A git script named wip-push that commits changes in my working copy with the message "WIP". A git script named wip-pop that undoes the head commit, leaving the changes in my working copy, only if the commit message is "WIP". I use these dozens of times every day.
Also I've written my own logging library. Multiple times. Doesn't everybody?
- blitz_skull 5y agoAhh, I’ve done something similar except I call mine “save” and “undo”. Basically I just define them as git subcommands so I just use “git save” to create a SAVEPOINT commit, and “git undo” to undo the last commit onto my working index.
- CRConrad 5y agoPossibly stupid question: Did you guys both just independently clone the already-existing git stash command?