git学习
来源:互联网 发布:excel数据保护 编辑:程序博客网 时间:2024/05/16 11:13
http://blog.csdn.net/cc198877/article/details/7639130
Git 命令参数及用法详解 & Linux编程环境下版本控制 Git使用
如果使用HTTPS:
Create a new repository on the command line
touch README.mdgit initgit add README.mdgit commit -m "first commit"git remote add origin https://github.com/guochy2012/test.gitgit push -u origin master
Push an existing repository from the command line
git remote add origin https://github.com/guochy2012/test.gitgit push -u origin master
如果采用SSH:
Create a new repository on the command line
touch README.mdgit initgit add README.mdgit commit -m "first commit"git remote add origin git@github.com:guochy2012/test.gitgit push -u origin master
Push an existing repository from the command line
git remote add origin git@github.com:guochy2012/test.gitgit push -u origin master
使用HTTPS需要每次输入密码,SSH则不用,但SSH需要配置密钥 。
关于怎么产生密钥可以参见《Generating SSH Keys》一文
0 0
- 【git】git学习笔记
- 【Git】Git学习手册
- Git学习 -- Git 安装
- Git学习-GIT安装
- 【Git学习】git常用命令
- git学习:git常用命令
- git 学习
- git 学习
- Git学习
- Git 学习
- GIT学习。
- git学习
- Git 学习
- git 学习
- Git学习
- Git学习
- git 学习
- git学习
- [译]How to Design Games Levels with "Super Mario World Method"
- android 制作9.png图片
- 哈希表中的一些问题
- Linux内核源代码解析之——小弟我与神童聊Linux内核
- oracle数据库操作方式
- git学习
- 由于SSH配置文件的不匹配,导致的Permission denied (publickey)及其解决方法
- 价值交换的5个层次
- 文章标题
- 初学python1
- NumberUtils、ArrayUtils和RandomUtils工具类用法
- SDWebImage最新的使用
- PHP模板smarty简单入门教程
- ActionContext和ServletActionContext