第一次在linux使用github远程仓库
来源:互联网 发布:linux exe 编辑:程序博客网 时间:2024/05/17 23:00
1 github上建立仓库
2 在终端输入:ssh-keygen -t rsa -C “youremail@example.com”
3 进入隐藏目录.ssh
4 拷贝id_rsa.pub下密钥
5 在github下 settings下SSH中add ssh key
title任意 , key粘贴上面的密钥
6 在终端项目的根目录下输入:git init
7 添加远程github: git remote add origin git@github.com:github用户名/创建的仓库名
8 终端输入git config user.name “someone”
9终端输入 git config user.email “someone@someplace.com”
10 git add .
11git status
12 git commit -m “随便写个注释”
13 上传 终端输入 git push -u origin master
参考教程 寥雪峰关于git的搭建 ,
0 0
- 第一次在linux使用github远程仓库
- Github作为远程仓库的使用详解
- Git之使用GitHub搭建远程仓库
- Git之使用GitHub搭建远程仓库
- Git之使用GitHub搭建远程仓库
- Git之使用GitHub搭建远程仓库
- 如何使用git 管理github远程仓库
- Github本地仓库与远程仓库使用心得
- git使用笔记3(在github上创建远程仓库)
- github之远程仓库
- 远程仓库github
- git 远程仓库 github
- github 远程仓库
- 08.github远程仓库
- GitHub添加远程仓库
- github远程仓库
- github建立远程仓库
- GitHub远程仓库操作
- 怎样让普通方法能够调用到Spring管理的方法
- Weiss数据结构与算法--练习2.23(幂运算)
- 搭建或者升级Python环境笔记
- Thinkphp各大支付平台在线支付集成源码
- php 邮箱验证
- 第一次在linux使用github远程仓库
- 数据库概念总结
- jquery中DOM节点操作(五)
- [AHK]通达信联动到同花顺下单
- 1.8 中hashMap的实现
- Mastering Swift: essential details about strings
- 常用正则表达式总结---八
- overflow和text-overflow
- Linux安装jdk步骤