原文连接:https://blog.csdn.net/weixin_39908948/article/details/111717347
1、新建自己的本地目录
[root@istester ~]# mkdir -p ~/istester_git
[root@istester ~]# cd istester_git/
2、拉远程仓库代码
[root@istester istester_git]# git clone http://t.istester.com:3000/istester/gittest.git (这个,填自己的仓库地址;查看方法,见 http://istester.com/git/442.html)
Cloning into 'gittest'...
remote: Counting objects: 1769, done.
remote: Compressing objects: 100% (1602/1602), done.
Receiving objects: 5% (89/1769), 1.47 MiB | 115.00 KiB/s
如果看到如下,就是成功了
Receiving objects: 100% (1769/1769), 17.44 MiB | 116.00 KiB/s, done.
Resolving deltas: 100% (95/95), done.
3、确认,本地仓库代码
[root@istester istester_git]# ll
total 4
drwxr-xr-x 8 root root 4096 May 11 13:55 gittest
4、确认
[root@istester istester_git]# cd gittest/
[root@istester gittest]# ll
total 31280
drwxr-xr-x 3 root root 4096 May 11 13:55 custom
drwxr-xr-x 4 root root 4096 May 11 13:55 data
-rwxr-xr-x 1 root root 31981159 May 11 13:55 gogs
-rw-r--r-- 1 root root 1054 May 11 13:55 LICENSE
drwxr-xr-x 8 root root 4096 May 11 13:55 public
-rw-r--r-- 1 root root 8226 May 11 13:55 README.md
-rw-r--r-- 1 root root 5329 May 11 13:55 README_ZH.md
drwxr-xr-x 7 root root 4096 May 11 13:55 scripts
-rw-r--r-- 1 root root 36 May 11 13:55 start_ByIdo.sh
drwxr-xr-x 11 root root 4096 May 11 13:55 templates
搞定 ,
更多内容,见后续更新;
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 从HTTP原因短语缺失研究HTTP/2和HTTP/3的设计差异
· 三行代码完成国际化适配,妙~啊~