使用gogs搭建自己的git代码托管仓库

假设前提已经安装好了:git、mysql

1、gogs官网

https://gogs.io/docs

2、NSSM 下载地址

http://www.nssm.cc/download

下载后,添加到环境变量就可以了

3、下载gogs 在windows下的二进制文件

https://gogs.io/docs/installation/install_from_binary.html

4、gogs的windows安装

https://blog.csdn.net/qq_26819733/article/details/77860125

《使用gogs搭建自己的git代码托管仓库》 image.png
《使用gogs搭建自己的git代码托管仓库》 image.png
《使用gogs搭建自己的git代码托管仓库》 image.png

运行sql脚本

source D://soft//web//gogs//scripts//mysql.sql

《使用gogs搭建自己的git代码托管仓库》 image.png

输入初始化,然后回车

gogs web

就会出现安装go 配置go的页面

《使用gogs搭建自己的git代码托管仓库》 image.png

5、AndroidStudio 项目同步提交

《使用gogs搭建自己的git代码托管仓库》 image.png
《使用gogs搭建自己的git代码托管仓库》 image.png
《使用gogs搭建自己的git代码托管仓库》 image.png

剩下的就是通过git操作提交代码,这里就不多说了

    原文作者:追梦小乐
    原文地址: https://www.jianshu.com/p/c016427e3dc8
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞