From: Tommi Virtanen Date: Wed, 13 Jun 2012 18:08:31 +0000 (-0700) Subject: Don't assume remote name is always the same. X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=517b4d73976063773208ad8519b2c52d519a3288;p=keys.git Don't assume remote name is always the same. --- diff --git a/update b/update index a67a662..8941a75 100755 --- a/update +++ b/update @@ -26,5 +26,6 @@ Regenerated keys. EOF )" +REMOTE="$(git config --get branch.master.remote)" git update-ref -m 'Regenerated keys' refs/heads/autogenerated "$COMMIT" -git push github +autogenerated +git push -- "$REMOTE" +autogenerated