X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/a7ec1feb5aaa690f1360f8c4f91d670bb3787752..0be68e89bd73e70978436463d8c8196d1770cf24:/doc/sample_hooks/post-init-add-origin diff --git a/doc/sample_hooks/post-init-add-origin b/doc/sample_hooks/post-init-add-origin new file mode 100755 index 0000000..a3030d5 --- /dev/null +++ b/doc/sample_hooks/post-init-add-origin @@ -0,0 +1,6 @@ +#!/bin/sh + +# This adds a remote origin at $GITURL/dotfiles/$VCSH_DIRECTORY +# Assumes $GITURL is set to the base of your remote repos. + +vcsh $VCSH_DIRECTORY remote add origin $GITURL/dotfiles/$VCSH_DIRECTORY