I think it would be a good idea to think of the staging area as your own 
little Github.

You want to set up a repository there. Since this is a repository nobody 
will be working directly on, you want to make it a *bare* repository like 
this:

ssh user@stagingserver
cd /git/stagingrepo
git init --bare

Now you can go back to your local machine and clone this stagingrepo:

git clone ssh://user@stagingserver/git/stagingrepo
[... cloning ]
git add [all files that should be in the staing repo]
git commit
git push

Now, others can clone the repo just like you did, and start the party :)

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to