FrontPage

よく使われているコマンド: [edit]

チェックアウト [edit]

git clone git://github.com/jquery/jquery.git

clone 中断调用 fetch 可断点续传(需要进入项目文件夹后,执行此命令)

git fetch  --recurse-submodules

本地代码未修改,只有master分支,直接更新 [edit]

git pull

查看版本 [edit]

git describe --tags --dirty

查看项目地址 [edit]

git remote -v

下载工程里的一些子工程 [edit]

下载后,再cd到目录中执行下面的命令

git submodule update --init -f

末尾的 -f 表示强制执行

Troubleshooting [edit]

Cloning into 'D:/connectedhomeip/third_party/editline/repo'... fatal: unable to access 'https://github.com/troglobit/editline.git/': OpenSSL SSL_read: Connection was reset, errno 10054 [edit]

网络差导致的此类问题

cd 到 git clone的主目录下,执行下述命令即可。

git submodule update --init --recursive

Tips [edit]


コメント:



(画像の文字列を入力して下さい)

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS