hexo d部署到个人服务器git仓库上
本篇前置条件:
1 个人服务器已安装git,则可创建git仓库,参考http://blog.ixiewei.com/index.php/archives/266.html
2 本地PC机已安装node,hexo,参考对应官方网站手册即可
1 个人服务器已安装git,则可创建git仓库,参考http://blog.ixiewei.com/index.php/archives/266.html
2 本地PC机已安装node,hexo,参考对应官方网站手册即可
➜ atd git:(b4.232) ✗ git pull
remote: Counting objects: 78, done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 78 (delta 60), reused 0 (delta 0)
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
在日常工作中我们往往使用gitee、github、gitlab等,第三方的git仓库。有时候我们想在自己的服务器上搭建一个git服务器,方便自己的代码提交。
1、服务器端使用centos7(虚拟机)
2、客户端直接是本机电脑