github-pages - How to use git to achieve functionality similar to GitHub Pages?
给我你的怀抱
给我你的怀抱 2017-05-02 09:40:09
0
0
689

I want to achieve: update my blog from the local environment by git pushpush directly to the server

My attempt:
Look at the chapter on building a server in "PRO Git" to implement it through a bare warehouse, so I pushed the local bare warehouse to the server /home/liuzhen, and then /var/www/git clone /home/liuzhen/html.gitPull to the web server root directory

The current situation is:

  1. Update local files and push them to the server

  2. Log in to the server to pull content from the www directory

I want to omit the second step and ask for ideas

给我你的怀抱
给我你的怀抱

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template