From fd4246e5df01fd75fd416cbdeb0ae7072d2112de Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Tue, 5 May 2020 14:51:41 -0400 Subject: git-ll-remote --- dot/local/bin/git-ll-remote | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 dot/local/bin/git-ll-remote diff --git a/dot/local/bin/git-ll-remote b/dot/local/bin/git-ll-remote new file mode 100755 index 0000000..4052a41 --- /dev/null +++ b/dot/local/bin/git-ll-remote @@ -0,0 +1,12 @@ +#!/bin/sh + +remote=${1:-origin} + +git ls-remote $remote | + + while read hash ref; do + case $ref in refs/namespaces/*) + git fetch $remote $ref; + git show $hash | sed '/^$/q';; + esac + done -- cgit v1.2.3