Thank you I didn't know about this. Your version is a bit more compact.
Here are a couple that I use a lot. There's probably a shorter way to write them: # show the last 10 branches I used lb = !git reflog show --pretty=format:'%gs ~ %gd' --date=relative | grep 'checkout:' | grep -oE '[^ ]+…
Thank you I didn't know about this. Your version is a bit more compact.
Here are a couple that I use a lot. There's probably a shorter way to write them: # show the last 10 branches I used lb = !git reflog show --pretty=format:'%gs ~ %gd' --date=relative | grep 'checkout:' | grep -oE '[^ ]+…