Git Cheat Sheet
I think that while Git would be great as a library, as a front-facing program it's UX could do an improvement:<p>A good UX is simple things should be simple, but complicated things should be possible, but now look at the following "basic" git workflow:<p>1. Add. I want git to track this file. Yes, sometimes I need to add certain lines, files, etc. Keep git add, commit, and push. But have a "git update" or something for beginners (and for 99% of use)<p>2. History - How can I go through a file to see its history? "git show REV"? What if I want a wikipedia style history? What if I want to go through the history of a file? There should be something like "git history main.c"<p>3. Undelete file - This is fairly common, yet, the command is<p>git checkout $(git rev-list -n 1 HEAD -- "$file")^ -- "$file"<p>A command like git undelete $file would probably make life easier.<p>I haven't gotten to the more complex workflow, and I definitely agree that git is a great revision system, but UX improvements can help<p>---
EDIT,<p>Mandatory xkcd<p><a href="https://xkcd.com/1597/" rel="nofollow">https://xkcd.com/1597/</a>