What exactly are these commands doing:
ssh serveradmin%mt-example.com@[email protected]
cd domains/git.mt-example.com/html/mt-example.git
git --bare update-server-info
cd hooks
mv post-update.sample post-update
chmod a+x post-update
I'm not sure why the after the git --bar
command they have update-server-info
And what is going on in the 'hooks' folder?
Update
Taken from: http://kb.mediatemple.net/questions/1594/Using+Git
I am basically creating the Git repository while terminalling into the server. Do I still need to go into cd hooks, etc.?