#github - 如何使用类似Git的方法更新个人网站的代码?
大家讲道理
大家讲道理 2017-05-02 09:21:47
0
3
583

我建了一个个人博客 ,独立域名的,主要是静态页面。打算用来展示简历。我经常修改代码,怎样才可以像github 那样只更新我修改的代码。因为不会搞,每次都全部上传一次,觉得很费时。
还有,我不想用github pages那些,想尝试怎样搞个人博客。
很多人说在服务器上安装git,但我百度很久还是不会怎样安装。
请问有什么解决方案吗?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(3)
左手右手慢动作

In fact, git can’t do it. A HOOK is also needed for automatic deployment, but this is too complicated and a newbie can't do it in just a few days.

It’s better to use a better IDE, such as
phpstorm:
1. TOOL-》deployment-》configuration-》add an ftp server.
2. TOOL-》deployment-》automatic
Then after you change the file, the IDE will immediately upload it for you.

Peter_Zhu

You can use Hexo to build a personal blog on github. [Like this]: http://jameboy.github.io/2015/07/11/%E4%BD%BF%E7%94%A8Hexo%E6%90%AD%E5...

世界只因有你

Ubuntu , try

sudo apt-get install git

Done. Happy Hacking

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!