搭建git服务器

Posted on 2018-08-10 15:55  风行天下-2080  阅读(88)  评论(0编辑  收藏  举报

参考网站:   https://www.cnblogs.com/dee0912/p/5815267.html  未测试

 

https://blog.csdn.net/martinwangjun/article/details/78780885

以上linux创建完git用户后,还需要设置git的密码。(https://blog.csdn.net/nian1035868500/article/details/79889975)

错误处理:

(1)github上传时出现error: src refspec master does not match any解决办法

https://blog.csdn.net/xl_lx/article/details/80676208

touch  README

git add README

git commit -m 'first commit

git push origin master

 

Copyright © 2024 风行天下-2080
Powered by .NET 8.0 on Kubernetes