Commit 166afd99 authored by Christoph Kepler's avatar Christoph Kepler

* formatting for the win

parent e7986794
......@@ -42,26 +42,26 @@ Example
Let's say the server user is knechtrootrecht and the webroot is already set.
> cd ~
> mkdir stable-project.git
> cd stable-project.git
> git init --bare
> cd hooks
> Copy the hooks
> vi pre-receive and make the changes
> vi post-receive and make the changes
> chmod +x \*-receive
> cd ..
> git symbolic-ref HEAD refs/heads/stable
> cd ~
> mkdir stable-project.git
> cd stable-project.git
> git init --bare
> cd hooks
> Copy the hooks
> vi pre-receive and make the changes
> vi post-receive and make the changes
> chmod +x \*-receive
> cd ..
> git symbolic-ref HEAD refs/heads/stable
The Hooks should be ready to push now.
You now have an empty repository within /home/knechtrootrecht/stable-project.git
Now add the remotes on the local dev machines.
> cd PROJECT/GIT/DIR
> git remote add live knechtrootrecht@server:/home/knechtrootrecht/stable-project.git
> git checkout stable
> git push live
> cd PROJECT/GIT/DIR
> git remote add live knechtrootrecht@server:/home/knechtrootrecht/stable-project.git
> git checkout stable
> git push live
Than you should see messages that confirm that you have pushed correctly.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment