0%

Git Remote Repository UserGuide

git remote repository Using

reference site

查看远程仓库

1
2
3
$ git remote  #显示仓库信息
$ git remote --version #显示对应的克隆地址
$ git remote -v #显示对应的克隆地址

添加远程仓库

1
$ git remote add pb git://github.com/paulboone/ticgit.git  #git remote add [shortname] [url]

远程仓库抓取数据

1
$ git fetch pb # git fetch [remote-name]

推送数据到远程仓库

1
$ git push origin master #git push [remote-name] [branch-name]

查看远程仓库信息

1
$ git remote show origin  #git remote show [remote-name] 
Donate comment here.

欢迎关注我的其它发布渠道