git 克隆远程仓库
来源:互联网 发布:标签权重算法 编辑:程序博客网 时间:2024/05/16 17:49
克隆远程代码
# cd /home
# git clone git@github.com:aminglinux/resource.git# 克隆远程的代码,无需 ssh 验证。它提示,会在当前目录下初始化一个仓库,并创建一个.git的目录。Initialized empty Git repository in /home/resource/.git/
# cd resource
# vim
# git add resource.txt
# git commit -c "update mysql address"# 此时仅仅提交到本地
# git push # 推送到远程,如果没有对方的公钥,是没办法 push的,只能去和对方申请一下,然后添加 publish_key。
查看远程项目信息
# cd /home/resource/.git # 进入到隐藏目录
# cat config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:aminglinux/resource.git
[branch "master"]
remote = origin
merge = refs/heads/master
阅读全文
0 0
- git 克隆远程仓库
- git学习之克隆远程仓库
- 3.Git远程仓库添加及克隆
- Git远程仓库的添加及克隆
- git的学习笔记(克隆远程仓库)
- Git小白教程3---远程仓库克隆到本地
- git从github远程仓库克隆到本地
- 手把手git教程(05)--远程仓库推送和克隆
- Git 使用(5)远程仓库之克隆
- 三:远程仓库 + 克隆
- 克隆git仓库
- 远程服务器git仓库的搭建以及本地git库的首次推送首次克隆远程仓库的文件
- 远程仓库克隆到本地
- git 克隆远程库
- Git使用手册:git clone 克隆下载远程仓库项目工程到本地工作区
- git从远端克隆仓库
- git远程推送,远程克隆
- git学习-创建仓库克隆仓库
- 使用Intellij中的Spring Initializr来快速构建Spring Boot/Cloud工程
- 在传统Spring应用中使用spring-boot-actuator模块提供监控端点
- 我的新书《Spring Cloud微服务实战》预告
- 24 shell变量(自定义变量、环境变量、位置参数变量、预定义变量)
- SpringCloud实战小贴士:版本依赖关系
- git 克隆远程仓库
- 使用Spring Boot Actuator、Jolokia和Grafana实现准实时监控
- Android如何解决Gradle编译慢
- SpringCloud实战小贴士:随机端口
- Netflix Zuul与Nginx的性能对比
- 《Spring Cloud微服务实战》开始预售
- hdu 5112 A Curious Matt (结构体+cmp函数)
- 设计模式六大原则例子(一)-- 接口隔离原则(ISP)例子
- 基于Consul的分布式锁实现