查看: 127|回复: 0

[教程] github教程

[复制链接]

3

主题

0

回帖

0

积分

热心网友

金币
0
阅读权限
220
精华
0
威望
0
贡献
0
在线时间
0 小时
注册时间
2011-8-14
发表于 2022-12-21 09:54:00 | 显示全部楼层 |阅读模式

创建仓库,提交代码

第一步,配置密钥

生成密钥命令:ssh-keygen -t rsa

密钥地址:C:\Users\Code617\.ssh 

 需要把公钥配置到github上

 

 

 

echo "# my-blog" >> README.md
git init
git add README. md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/rqlcontinue/my-blog.git
git push -u origin main
git remote add origin https://github.com/rqlcontinue/my-blog.git
git branch -M main
git push -u origin main

 



来源:https://www.cnblogs.com/i269/p/16995603.html
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

圆梦公社,专注于为全球华人提供纯粹技术交流的地方,请勿发布任何政治及违法的言论。如有相关侵权、举报、投诉及建议等,请发 E-mail:dzh188@hotmail.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部