查看: 44|回覆: 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:qiongdian@foxmail.com

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

在本版发帖返回顶部