Reputation: 33
I want to make git on the production server (production server doesn't exist yet!!!)
Like you see I use GitLab on one virtual machine. Other VM will be production server and when the app is ready for production, admin will pull the app from GitLab to production server.
Only admin can pull,edit git. Pulling on production server can only be done from GitLab(Admin or Dev can't push app to production).
My questions are:
Upvotes: 1
Views: 77
Reputation: 5406
Make use of git tag.
Tag the latest stable version in the development server and push it to the remote. From the production server checkout a new branch from that tag.
Upvotes: 1