首先看下我克隆我自己私有库的成功效果图。
公有仓库克隆方法。
代码语言:javascript复制$ git clone git@github.com:2418546511/Py_jyputer.git
私有仓库克隆方法。
代码语言:javascript复制$ git clone https://用户名:密码@github.com/2418546511/Py_jyputer.git
同步私有库演示:
代码语言:javascript复制Administrator@DESKTOP-HVAQES8 MINGW64 /c/Py_jupyter (master)
$ git add pytools
Administrator@DESKTOP-HVAQES8 MINGW64 /c/Py_jupyter (master)
$ git config --global user.email "2418546511@qq.com"
Administrator@DESKTOP-HVAQES8 MINGW64 /c/Py_jupyter (master)
$ git config --global user.name "2418546511"
Administrator@DESKTOP-HVAQES8 MINGW64 /c/Py_jupyter (master)
$ git commit -m "4.25test"
[master f0fecd5] 4.25test
1 file changed, 0 insertions( ), 0 deletions(-)
create mode 100644 "pytools/src/346265213350257225git.txt"
Administrator@DESKTOP-HVAQES8 MINGW64 /c/Py_jupyter (master)
$ git push -u origin master
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 16 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 407 bytes | 407.00 KiB/s, done.
Total 4 (delta 1), reused 0 (delta 0)
error: RPC failed; curl 7 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date