1. 4
  1. 2

    For the clone a single branch tip, it seems like git has something built in for that. What’s wrong with good old git clone -b branch_name —single-branch? Also, I am fairly certain that git stash —keep-index stashes everything, not just what’s in your index, but only removes the items which are not currently in your index from your memory, which isn’t super clear from the post. Some of these are interesting though, didn’t know about the search your entire history for a string one, and patching with a file from another repository seems useful.