Git远程操作
来源:互联网 发布:淘宝客服介入处理时间 编辑:程序博客网 时间:2024/05/01 10:31
远程操作非常简便
- git clone
- git remote
- git fetch
- git pull
- git push
$ git clone <版本库的网址>
$ git clone https://github.com/jquery/jquery.git
$ git clone <版本库的网址> <本地目录名>
git clone支持多种协议,除了HTTP(s)以外,还支持SSH、Git、本地文件协议等,下面是一些例子。
$ git clone http[s]://example.com/path/to/repo.git/$ git clone ssh://example.com/path/to/repo.git/$ git clone git://example.com/path/to/repo.git/$ git clone /opt/git/project.git $ git clone file:///opt/git/project.git$ git clone ftp[s]://example.com/path/to/repo.git/$ git clone rsync://example.com/path/to/repo.git/
SSH协议还有另一种写法。
$ git clone [user@]example.com:path/to/repo.git/
0 0
- 【Git管理】Git 远程操作
- 【Git】Git远程操作详解
- 【Git】Git远程操作详解
- 【Git】Git远程操作详解
- Git远程操作详解
- Git远程操作详解
- Git远程操作详解
- Git远程操作详解
- Git远程操作详解
- Git远程操作详解
- Git远程操作详解
- Git远程操作详解
- Git远程操作详解
- Git远程操作详解
- Git远程操作
- Git远程操作详解
- Git远程操作详解
- Git远程操作详解。
- java基础之IO流
- lamport一次签名的C语言简单实现
- 虚拟机,yum命令报错
- 网络多线程-NSOperation操作依赖和监听
- 一周优化总结
- Git远程操作
- 接口设计
- HDFS下的基本文件操作
- 网络多线程-NSOperation线程间通信
- 数据结构实验之图论七:驴友计划
- C语言简单实现现代密码学rabin签名
- dx dp 和sp 的关系
- matlab学习笔记
- Python-学习笔记(一)——环境配置+IDE搭建(WingIDE)