street-fighter-ai icon indicating copy to clipboard operation
street-fighter-ai copied to clipboard

如何写入github

Open kuokuoking opened this issue 1 year ago • 1 comments

请问你是怎么让他写入代码到github中的?

kuokuoking avatar Apr 16 '23 12:04 kuokuoking

  1. 在git hub上新建一个项目
  2. 在本机装git
  3. 在本机的git bash中generate new ssh pub key
  4. 把key传到github的profile中
  5. git clone
  6. 如果是fork别人的代码,要checkout -b 一个自己的分支。也可以先在github 上folk之后,从自己的页面git clone
  7. 编辑代码
  8. git add .
  9. git commit.
  10. git pull
  11. git push
  12. 如果需要申请合并,则merge 后, 发起git pull request

haoyujie avatar Apr 20 '23 11:04 haoyujie