[projects/git-slug: 142/170] adc/move: github setup of new repository

glen glen at pld-linux.org
Mon Sep 21 21:50:45 CEST 2015


commit 52a824b232979f9ae29105855852f223c5e9a586
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Thu Jul 26 07:46:35 2012 +0100

    adc/move: github setup of new repository

 adc/move | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/adc/move b/adc/move
index 7e1852a..08a3e5f 100755
--- a/adc/move
+++ b/adc/move
@@ -26,3 +26,6 @@ mv "$move_from_full/description" "$move_to_full"
   echo "$move_to"
   GIT_DIR=$move_to_full git for-each-ref  --format="$EMPTYSHA1 %(objectname)  %(refname)" refs/heads/\*
   ) > $WATCHDIR/$2.$$
+
+upstream=$(echo $move_to | tr + -)
+git --git-dir="$move_to_full" push --mirror ssh://git@github.com/pld-linux/$upstream
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/git-slug.git/commitdiff/4ed64f73960519a2f4fd04c42950b2c96ae795c5



More information about the pld-cvs-commit mailing list