git remote 简单用法 http://blog.csdn.net/xiruanliuwei/article/details/6919416
来源:互联网 发布:汽车模型设计软件 编辑:程序博客网 时间:2024/05/16 06:11
git remote 不带参数,列出已经存在的远程分支,例如:
#git remote
origin_apps
git remote -v | --verbose 列出详细信息,在每一个名字后面列出其远程url,例如:
#git remote -v
origin_apps gitolite@scm:apps/Welcome.git (fetch)
origin_apps gitolite@scm:apps/Welcome.git (push)
需要注意的是,如果有子命令,-v | --verbose需要放在git remote与子命令中间。
git remote add name url 在url创建名字为name的仓库(Adds a remote named <name> for the repository at <url>)name为远程仓库的名字
git remote show name 必须要带name,否则git remote show的作用就是git remote,给出remote name的信息。
#git remote
origin_apps
git remote -v | --verbose 列出详细信息,在每一个名字后面列出其远程url,例如:
#git remote -v
origin_apps gitolite@scm:apps/Welcome.git (fetch)
origin_apps gitolite@scm:apps/Welcome.git (push)
需要注意的是,如果有子命令,-v | --verbose需要放在git remote与子命令中间。
git remote add name url 在url创建名字为name的仓库(Adds a remote named <name> for the repository at <url>)name为远程仓库的名字
git remote add name url的解释有误,是为本地仓库创建一个指向远程仓库的链接一类的东西(remote),name是指这个链接的名字而不是远端仓库的名字,是可以任取的,一般用origin这个名字指向clone的源仓库(upstream repository)。
git remote show name 必须要带name,否则git remote show的作用就是git remote,给出remote name的信息。
- git remote 简单用法 http://blog.csdn.net/xiruanliuwei/article/details/6919416
- Sizeof用法 http://blog.csdn.net/guanchanghui/article/details/1556319
- pthread_create用法 http://blog.csdn.net/tommy_wxie/article/details/8545253
- 使用coding fatal: remote origin already http://blog.csdn.net/dengjianqiang2011/article/details/926043
- net 2.0 BackgroundWorker类详细用法 http://blog.csdn.net/zhoufoxcn/article/details/1832819
- sscanf/scanf特殊用法 http://blog.csdn.net/lbird/article/details/1724429
- String.format的用法(http://blog.csdn.net/lu8000/article/details/11717331)
- 虚指针的用法(原出处//http://blog.csdn.net/haoel/article/details/1948051)
- fstream,ifstream,ofstream 详解与用法[http://blog.csdn.net/xiexievv/article/details/7226559]
- catgs用法(http://blog.csdn.net/wuziqi4/article/details/1709722)
- c语言中time函数的用法 http://blog.csdn.net/wangluojisuan/article/details/7045592
- tinyXML中FirstChild用法 http://blog.csdn.net/primer_programer/article/details/1968481
- http://blog.csdn.net/yejin191258966/article/details/8453909 java中Statement详细用法。
- Java中Synchronized的用法(原文: http://blog.csdn.net/luoweifu/article/details/46613015 )
- Android Canvas 和Paint的用法 转自http://blog.csdn.net/u010947098/article/details/44574171
- 从杂乱到有序并不简单--排序算法 http://blog.csdn.net/yixueming/article/details/22901349
- proc编程的一个简单例子 http://blog.csdn.net/mailbox2005/article/details/3881538
- 编写一个简单的proc文件 http://blog.csdn.net/mockbird/article/details/6674017
- 图片等比压缩
- 如何编写高质量的缺陷报告
- Box2d源码学习<四>数学库API的实现
- 指针数组和数组指针的区别
- ubuntu下编译安装Fcitx 4.2.2, 配置Google输入法及云输入法
- git remote 简单用法 http://blog.csdn.net/xiruanliuwei/article/details/6919416
- 将数组截取
- js判断浏览器类型(IE,Firefox)
- std::hash_multimap 遍历同一key下的不同value
- 手把手教你如何优化C语言程序
- hdu 2053
- Box2d源码学习<五>b2Timer、b2Draw和b2Settings的实现
- html 模版
- 虚函数的性质