简体   繁体   中英

Github workflow - how to make the site live

Say I've been working and collaborating on my project, doing all the changes locally, then pushing to a remote repo on github so I can collab with others.

I've not been able to find much discussion about what actually happens when you're ready to make your project accessible to the public. (ie for the end user)

Is it just a case of fetching the master branch to your computer then uploading the files via FTP to your web host? Or do I need to get my webhost to install git on my server then I can do a git push directly? It seems strange that a lot of the major web hosts, don't mention anything about git in their online docs.

Having Git on server would be the best. Though, if you have not access to those levels, just push a particular revision with https://github.com/git-ftp/git-ftp .

Whether using OSX, you can consider this GUI-based pretty convenient workflow (I also use for some WordPress stuff): http://eppz.eu/blog/push-git-to-ftp/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM