Loading...
Loading...
Compare original and translation side by side
git push --forcegit branch -Dmainmasterfeat:fix:docs:git push --forcegit branch -Dmainmasterfeat:fix:docs:create_repositorynamedescriptionprivategit remote add origin https://github.com/<owner>/<repo>.gitorigingit init
git remote add origin https://github.com/<owner>/<repo>.gitgit push -u origin mainmaincreate_repositorynamedescriptionprivategit remote add origin https://github.com/<owner>/<repo>.gitorigingit init
git remote add origin https://github.com/<owner>/<repo>.gitgit push -u origin mainmaingit statusgit initgit remote -vorigingit statusgit add <paths>git add -Agit commit -m "type(scope): description"git push origin <branch>maingit push -u origin maingit statusgit initgit remote -vorigingit statusgit add <paths>git add -Agit commit -m "type(scope): description"git push origin <branch>maingit push -u origin maingit remote get-url origingit remote get-url origingit checkout -b <branch-name>git push -u origin <branch-name>git checkout <branch>git switch <branch>git branch -d <branch>git push origin --delete <branch>git checkout -b <branch-name>git push -u origin <branch-name>git checkout <branch>git switch <branch>git branch -d <branch>git push origin --delete <branch>headbasemaintitlebodyheadbasemaintitlebodytype(scope): short description| Type | Use for |
|---|---|
| New feature |
| Bug fix |
| Documentation only |
| Formatting, no code change |
| Code change, no feature/fix |
| Adding or updating tests |
| Build, tooling, deps |
feat(auth): add login endpointfix(api): correct date parsingdocs: update README setup stepstype(scope): short description| 类型 | 适用场景 |
|---|---|
| 新增功能 |
| 修复Bug |
| 仅修改文档 |
| 格式调整,无代码逻辑变更 |
| 代码重构,无新增功能或修复 |
| 添加或更新测试用例 |
| 构建流程、工具或依赖项调整 |
feat(auth): add login endpointfix(api): correct date parsingdocs: update README setup stepsmainmain