You shouldn't push into a repo that has a working copy. Instead make a bare repo in another path on your server, push to it from the developers' repos, and pull from it into your deploy repo when you wish to deploy. --tek
On Thu, Oct 16, 2008 at 2:36 PM, VP <[EMAIL PROTECTED]> wrote: > > Hi all, > > I have several dev boxes and one prod server. 3 developers are working > on a project. > How to get a copy from a production server on their local boxes and > start working locally and then transfer their code to production back > properly? > > Dev box winXP > Prod box solaris/linux > Everywhere Git was installed > > What are we doing: > > prod server > --------------------------------------------------------------------------- > cd /path/project > git init > git add . > git commit -m "initial commit" > > dev box > --------------------------------------------------------------------------- > cd /path/project > git clone ssh://[EMAIL PROTECTED]/path/project > > Everything works fine. Developers get their own copy. > > After making some changes on dev boxes > > git add file1 file2 file3 > git commit -m 'Message' > git push > > Nothing happens on a production server. Why? > > Any comments will be appreciated. Thanks. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GitHub" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/github?hl=en -~----------~----~----~----~------~----~------~--~---
