Skip to content

Instantly share code, notes, and snippets.

View qqlcx5's full-sized avatar
🌴
在度假

qqlcx5

🌴
在度假
View GitHub Profile
@qqlcx5
qqlcx5 / Submit-PR.md
Created March 20, 2023 06:30 — forked from YimianDai/Submit-PR.md
向开源项目提交 Pull Request

步骤

Part 1 - Local Repo Config

  1. 先 Fork 感兴趣项目,即 dmlc/gluon-cv
  2. Clone 到本地,git clone git@github.com:YimianDai/gluon-cv.git
  3. 添加源项目 dmlc/gluon-cv 作为 upstream 源,git remote add upstream https://github.com/dmlc/gluon-cv.git
  4. 禁止直接向 upstream 源 push,因为我们不是 dmlc 的人,没有 push 的权限,要提交代码必须通过 Pull Request,git remote set-url --push upstream no_push
  5. 创建并切换到本地的新分支 fixMixSoftmaxCrossEntropyLossgit checkout -b fixMixSoftmaxCrossEntropyLoss