4 ms·
git push staging master or git push staging dev:master >just edit the code directly on the server over ssh. Don't do that unless it is a horrible bug fix. Li
by 27182818284 13y ago
git push staging master
or git push staging dev:master
>just edit the code directly on the server over ssh.
Don't do that unless it is a horrible bug fix. Like a security vuln you need to push immediately. Take the extra time to put it into dev or whatever and then push / upload it to wherever.
>I've heard of git push, rsync, ftp, etc.
This really depends on what I'm doing. Obviously if I'm pushing to Heroku it is Git, but I also help out some local folk with the website about their farm fresh eggs. For the latter it is just FTP, because nothing more is necessary. (I I guess I do use a static site generator similar to http://jekyllrb.com/ http://jekyllrb.com/)