Git 技术篇 - GitHub克隆私有仓库方法,新主机绑定并同步github私有库实例演示
Posted 挣扎的蓝藻
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Git 技术篇 - GitHub克隆私有仓库方法,新主机绑定并同步github私有库实例演示相关的知识,希望对你有一定的参考价值。
首先看下我克隆我自己私有库的成功效果图。
公有仓库克隆方法。
$ git clone git@github.com: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 "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/\\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
喜欢的点个赞❤吧!
以上是关于Git 技术篇 - GitHub克隆私有仓库方法,新主机绑定并同步github私有库实例演示的主要内容,如果未能解决你的问题,请参考以下文章