/data/svn/repos/ruby
: SVN repository of Rubyhooks/post-commit
: Run/home/git/ruby-commit-hook/hooks/post-commit.sh
/data/git/ruby.git
: Bare Git repository of rubyhooks/post-receive
:- Update
/home/git/ruby-commit-hook
- Run
/home/git/ruby-commit-hook/hooks/post-receive.sh
- Update
/data/git/ruby-commit-hook.git
: Bare Git repository of ruby-commit-hook/home/git/ruby-commit-hook
: Cloned Git repository of ruby-commit-hook
- There's a symlink
/var/git
->/data/git
. - User
git
's$HOME
is NOT/home/git
but/var/git
.
/usr/bin/git -C /home/git/ruby-commit-hook fetch origin master
/usr/bin/git -C /home/git/ruby-commit-hook checkout origin/master