天天看點

Git 技術篇 - GitHub克隆私有倉庫方法,新主機綁定并同步github私有庫執行個體示範

首先看下我克隆我自己私有庫的成功效果圖。

Git 技術篇 - GitHub克隆私有倉庫方法,新主機綁定并同步github私有庫執行個體示範
公有倉庫克隆方法。

$ git clone [email protected]:2418546511/Py_jyputer.git      

私有倉庫克隆方法。

$ git clone https://使用者名:密碼@github.com/2418546511/Py_jyputer.git      

同步私有庫示範:

Administrator@DESKTOP-HVAQES8 MINGW64 /c/Py_jupyter (master)
$ git add pytools

Administrator@DESKTOP-HVAQES8 MINGW64 /c/Py_jupyter (master)
$ git config --global user.email "[email protected]"

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/\346\265\213\350\257\225git.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      

喜歡的點個贊❤吧!