Day_0 · 注册 GitHub,把 Hello World 推送到自己的仓库(第零节) #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
今日知识点
Git 是代码版本管理工具,GitHub 是存放代码的网站。今天掌握这些命令:
git initgit statusgit add hello.pygit add .表示全部)git commit -m "说明"git branch -M mainmaingit remote add origin <仓库地址>origin是它的名字)git push -u origin main-u记住关联,之后直接git push)先学(教程)
任务(后做)
+→ New repository → 仓库名填hello-daily-challenge→ 选 Public → 点 Create repository(不要在页面上勾选任何初始化选项,保持空仓库)
hello-daily-challenge,在里面新建hello.py,文件内容直接写(一个字符都不要错):
Developer settings → Personal access tokens → Tokens (classic) → Generate new token (classic)
→ 勾选
repo权限 → Generate → 复制那串 token(只显示一次)hello.py出现了python hello.py,看到输出Hello World完成标准
hello-daily-challenge里有hello.pypython hello.py输出Hello World提交方式:在 Day_0 工单下方"撰写"处,贴上你的 GitHub 仓库地址
(形如
https://github.com/你的用户名/hello-daily-challenge),然后点击"评论"。Day_0 · Git 入门与 Hello World(第零节)to Day_0 · 注册 GitHub,把 Hello World 推送到自己的仓库(第零节)https://github.com/RorschachHe/hello-daily-challenge
0
https://github.com/wyn-netizen/hello-daily-challenge
https://github.com/FinaleQuill/hello-daily-challenge
https://github.com/wang-zi-kun/hello-daily-challenge
https://github.com/321170123/hello-daily-challenge
https://github.com/arthur-lee-1/hello-daily-challenge
建议大家也同时在git.itouc.cn,在我们的git上创建仓库~
https://github.com/Q88a/hello-daily-challenge
https://github.com/yhk2007/hello-daily-challenge
https://github.com/huanmor/hello-daily-challenge
https://github.com/lyun69965/hello-daily-challenge
https://github.com/Jxw2333-ouc/hello-daily-challenge
https://github.com/Xigua726/hello-daily-challenge
https://github.com/Udrys-lan/hello-daily-challenge
https://github.com/lzxzswzs/hello-daily-challenge
https://github.com/zxh2007/hello-daily-challenge
https://github.com/LIZARD912/hello-daily-challenge
https://github.com/Mirelle22/hello-daily-challenge
https://github.com/eoh3/hello-daily-challenge
https://github.com/lucky72-ai/daily_challenge
https://github.com/smithy223/hello-daily-challenge
https://github.com/ccy128-bot/hello-daily-challenge
https://github.com/2932785510/hello-daily-challenge
https://github.com/qianliang-cpu/hello-daily-challenge
https://github.com/dengyichao666/hello-daily-challenge
https://github.com/Liaozihan337700/hello-daily-challenge
https://github.com/Alano-qyr/hello-daily-challenge
https://github.com/zrzz-maker/hello-daily-challenge
https://github.com/laity225/hello-daily-challenge
https://github.com/1wwwr/hello-daily-challenge
https://github.com/ouyangyuhang26/hello-daily-challenge
https://github.com/cr08230823/hello-daily-challenge
https://github.com/26-05/hello-daily-challenge
https://github.com/wutangmilktea/hello-daily-chanllenge
https://github.com/inkkni53213/hello-daily-challenge
https://github.com/silksnow136/hello-daily-challenge
https://github.com/Explorers-s/hello-daily-challenge
https://github.com/He-Lufan/hello-daily-challenge
https://github.com/xhn789/hello-daily-challenge
https://github.com/Ffllamme/hello-daily-challenge
https://github.com/haibaraai84/hello-daily-challenge
https://github.com/YachiyoIrohaKaguya/hello-daily-challenge
https://github.com/Lyriand/hello-daily-challenge
https://github.com/KasakiMizuki/hello-daily-challenge
https://github.com/lelele555-png/hello-daily-challenge
https://github.com/xu675693517-hue/hello-daily-challenge