From 791d3e1553d0a8b4103bb499fce26688b8cf217a Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Sat, 8 Sep 2012 20:11:43 -0300 Subject: Retrieve help --- git-shell-commands/help | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 git-shell-commands/help (limited to 'git-shell-commands/help') diff --git a/git-shell-commands/help b/git-shell-commands/help new file mode 100755 index 0000000..45f0bd6 --- /dev/null +++ b/git-shell-commands/help @@ -0,0 +1,12 @@ +#!/bin/sh +# * help +# Gets available commands +# ssh git@host help + +set -e + +# Gets three lines from every git-shell-command +for c in `dirname $0`/*; do + head -q -n4 $c | tail -n3 | sed "s/^..//" + echo +done -- cgit v1.2.3-54-g00ecf 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/fetch-mirrors | 2 +- git-shell-commands/help | 2 +- git-shell-commands/hook-install | 2 +- git-shell-commands/mirror | 2 +- git-shell-commands/mirrors | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'git-shell-commands/help') diff --git a/git-shell-commands/fetch-mirrors b/git-shell-commands/fetch-mirrors index 6268bf9..a9442ba 100755 --- a/git-shell-commands/fetch-mirrors +++ b/git-shell-commands/fetch-mirrors @@ -1,6 +1,6 @@ #!/bin/sh # * fetch-mirrors -# Updates mirrors created with `mirror` +# Actualiza el `mirrors` (espejos) creados con `mirror` # ssh git@host fetch-mirrors set -e diff --git a/git-shell-commands/help b/git-shell-commands/help index 45f0bd6..e707df8 100755 --- a/git-shell-commands/help +++ b/git-shell-commands/help @@ -1,6 +1,6 @@ #!/bin/sh # * help -# Gets available commands +# Obtiene los comando habilitados # ssh git@host help set -e diff --git a/git-shell-commands/hook-install b/git-shell-commands/hook-install index cfd4962..08a0340 100755 --- a/git-shell-commands/hook-install +++ b/git-shell-commands/hook-install @@ -1,6 +1,6 @@ #!/bin/sh # * hook-install -# Installs a hook on a repo +# Instala un hook en un repo # ssh git@host hook-install hook script repo [alt-dir] set -e diff --git a/git-shell-commands/mirror b/git-shell-commands/mirror index c634b9e..212687e 100755 --- a/git-shell-commands/mirror +++ b/git-shell-commands/mirror @@ -1,6 +1,6 @@ #!/bin/sh # * mirror -# Mirrors a repository +# Espeja un repositorio # ssh git@host mirror git://url/repo.git set -E 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-54-g00ecf