日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

git 拉取远端仓库_Git : 建立自己的本地仓库,并拉取远程代码

發(fā)布時間:2025/3/20 编程问答 24 豆豆
生活随笔 收集整理的這篇文章主要介紹了 git 拉取远端仓库_Git : 建立自己的本地仓库,并拉取远程代码 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

1、新建自己的本地目錄

[root@istester ~]# mkdir -p ~/istester_git

[root@istester ~]# cd istester_git/

2、拉遠(yuǎn)程倉庫代碼

[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、確認(rèn),本地倉庫代碼

[root@istester istester_git]# ll

total 4

drwxr-xr-x 8 root root 4096 May 11 13:55 gittest

4、確認(rèn)

[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

搞定 ,

更多內(nèi)容,見后續(xù)更新;

總結(jié)

以上是生活随笔為你收集整理的git 拉取远端仓库_Git : 建立自己的本地仓库,并拉取远程代码的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。