New Git Tricks I Learned Recently
I recently watched Scott Chacon’s talk called So You Think You Know Git. The talk was so good — it includes new and old git commands I’ve never seen. After watching it, I decided to create this article to summarize all the great tips and tricks with every single git command he mentions in his talk. Create an alias to always stash all files (including ignored and untracked files). In this example, you would run “git staash”, but you can choose any alias. ...