<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I also stated that I would share the aliases I use to accomplish the same type thing.<div class=""><br class=""></div><div class=""> wip = commit -am "WIP"</div><div class=""><div class=""> undo = reset HEAD~1 --mixed</div><div class=""><br class=""></div><div class="">- wip takes anything that isn’t committed and creates a new commit with the message WIP</div><div class="">- undo takes the last commit, removes it, and leaves the files that were modified in the commit in their modified state</div><div class=""><br class=""></div><div class="">The undo alias can by used on commits other than those committed as a WIP, which is very useful but care needs to be taken.</div><div class=""><br class=""></div><div class="">I have been curating different git aliases and methodologies over the years with thoughts of putting them together into a full talk. If there’s interest I can put these together for an upcoming meeting.</div><div class=""><br class=""></div><div class=""><div class="">~Shawn</div><div class="">--</div><div class="">Shawn Sorichetti</div></div><div class=""><br class=""></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 28, 2018, at 8:53 AM, Cees Hek <<a href="mailto:ceeshek@gmail.com" class="">ceeshek@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class="">In the meeting last night, I mentioned that you can create git helpers as shell scripts, and I mentioned two of them that I use for creating WIP commits.<div class=""><br class=""></div><div class="">This is the blog page where I originally found this:</div><div class=""><br class=""></div><div class=""><a href="https://blog.theodo.fr/2017/06/git-game-advanced-git-aliases/" class="">https://blog.theodo.fr/2017/06/git-game-advanced-git-aliases/</a><br class=""></div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Cees</div></div></div></div></div>
_______________________________________________<br class="">toronto-pm mailing list<br class=""><a href="mailto:toronto-pm@pm.org" class="">toronto-pm@pm.org</a><br class="">https://mail.pm.org/mailman/listinfo/toronto-pm<br class=""></div></blockquote></div><br class=""></div></div></body></html>