I have 2 servers: server-prod.uvm.edu and server-devl.uvm.edu . And I’ve got a git project on gitlab.uvm.edu
workflow like this
• edit code on server-devl and test, then
• ssh [log in to unmask]
• cd /var/www/html/project, then double check changed files
• git status, then Add changed files:
git add file1
git add file2
git add fileN
commit changes in local repository
• git commit
upload changes to remote repo
• git push --verbose origin master
Download changes to prod server
• ssh netid@server-prod
• cd /var/www/html/project
• git pull origin master
I’ve no problem with this; however, some of my co-developers aren’t too keen on command line operations.
How can i configure my stuff so that all one needs to do to update the production code is, I don't know, like just pressing some kinda big blue button?
I *think* it involves setting the gitlab repo as a mirror of the server-devl repo, and the server-prod code is a mirror of gitlab project. But I’d like to be sure before I start
Wesley repo-man Wright
"The life of a repo man is always intense."