From 45ed11f638444386d413266149edec03fef3814e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Mon, 10 Dec 2012 19:40:33 -0300 Subject: Work with mirrors --- git-shell-commands/mirrors | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 git-shell-commands/mirrors (limited to 'git-shell-commands/mirrors') diff --git a/git-shell-commands/mirrors b/git-shell-commands/mirrors new file mode 100755 index 0000000..d0ae3f4 --- /dev/null +++ b/git-shell-commands/mirrors @@ -0,0 +1,11 @@ +#!/bin/sh +# * mirrors +# Prints all mirrored repos +# ssh git@host mirrors + +set -e + +# Find all mirrors +find *.git -maxdepth 1 -iname config -print0 | \ + xargs -0 grep -l 'mirror = true' | \ + sed 's,/config$,,' -- cgit v1.2.3 From 8b9cc4cc3f034fc3f23440c56e19a0d801b5482e Mon Sep 17 00:00:00 2001 From: Ernesto Bazzano Date: Wed, 17 Apr 2013 20:27:37 -0300 Subject: en castillo --- git-shell-commands/mirrors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-shell-commands/mirrors') diff --git a/git-shell-commands/mirrors b/git-shell-commands/mirrors index d0ae3f4..d1301a8 100755 --- a/git-shell-commands/mirrors +++ b/git-shell-commands/mirrors @@ -1,6 +1,6 @@ #!/bin/sh # * mirrors -# Prints all mirrored repos +# Muestra todos los repositorios espejos (mirror) # ssh git@host mirrors set -e -- cgit v1.2.3