<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">Dan&#39;s way is as good as any.</div><div class="gmail_default" style="font-family:georgia,serif">(Could also commit to the local branch instead of stashing, which would let you diff against your config tweaks.)</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">I find that understanding what Git is doing really helps me figure out what i want to do. My preferred intro for this is</div><div class="gmail_default" style="font-family:georgia,serif"><ul><li><a href="https://codewords.recurse.com/issues/two/git-from-the-inside-out">Git from the inside out</a>
</li></ul></div><div><span class="gmail_default" style="font-family:georgia,serif">My other strategic bookmarks -</span></div><div><ul><li><span class="gmail_default" style="font-family:georgia,serif"><a href="https://git-scm.com/book/en/v2">Git - Book</a> <br></span></li><li><span class="gmail_default" style="font-family:georgia,serif"><a href="https://git-scm.com/book/en/v1/Git-Basics-Tips-and-Tricks#Auto-Completion">Git - autocomplete </a></span></li><li><span class="gmail_default" style="font-family:georgia,serif"><a href="https://stackoverflow.com/questions/7927750/specify-an-ssh-key-for-git-push-for-a-given-domain">Specify an SSH key for git push for a given domain - Stack Overflow</a> <br></span></li><li><span class="gmail_default" style="font-family:georgia,serif"><a href="https://gist.github.com/lttlrck/9628955">rename git branch locally and remotely · GitHub</a> <br></span></li><li><span class="gmail_default" style="font-family:georgia,serif"><a href="http://blog.plover.com/prog/git-reset-disaster.html">The Universe of Discourse : How to recover lost files added to Git but not committed</a> <br></span></li><li><span class="gmail_default" style="font-family:georgia,serif"><a href="https://github.com/blog/2042-git-2-5-including-multiple-worktrees-and-triangular-workflows">Git 2.5, including multiple worktrees and triangular workflows</a> <br></span></li><li><span class="gmail_default" style="font-family:georgia,serif"><a href="https://davidzych.com/difference-between-git-reset-soft-mixed-and-hard/">Difference between git reset soft, mixed and hard</a> <br></span></li><li><span class="gmail_default" style="font-family:georgia,serif"><a href="https://github.com/git/git/blob/master/Documentation/howto/revert-a-faulty-merge.txt">git revert-a-faulty-merge</a> <br></span></li><li><span class="gmail_default" style="font-family:georgia,serif"><a href="https://citizen428.net/10-common-git-problems-and-how-to-fix-them-e8d809299f08?gi=8ca1f48e3dd3">10 Common Git Problems and How to Fix Them – citizen428.blog</a> <br>[so good i bookmarked it twice, 2nd location <a href="https://www.codementor.io/citizen428/git-tutorial-10-common-git-problems-and-how-to-fix-them-aajv0katd">Codementor</a>
 ]</span></li><li><span class="gmail_default" style="font-family:georgia,serif"><a href="https://noamlewis.wordpress.com/2013/01/24/git-admin-an-alias-for-running-git-commands-as-a-privileged-ssh-identity/">git admin: An alias for running git commands as a privileged SSH identity – Noam Lewis</a>
</span></li></ul></div></div>