Skip to content

Instantly share code, notes, and snippets.

@ipmsteven
Last active October 27, 2021 00:04
Show Gist options
  • Save ipmsteven/8e4618a6ddf0c9f28cc2d74587a605f4 to your computer and use it in GitHub Desktop.
Save ipmsteven/8e4618a6ddf0c9f28cc2d74587a605f4 to your computer and use it in GitHub Desktop.
rco
function rco {
git reflog | egrep -io "moving from ([^[:space:]]+)" | awk '{ print $3 }' | head -n10 | sort | uniq
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment