commit-and-push

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Phase 1: Create Commits

阶段1:创建提交

Goal: Create all commits following conventional commits format
Actions:
  1. Invoke the
    /commit
    command to create all commits following conventional commits format

目标:创建所有符合规范提交格式的提交
操作步骤:
  1. 调用
    /commit
    命令创建所有符合规范提交格式的提交

Phase 2: Push to Remote

阶段2:推送到远程仓库

Goal: Push commits to the remote repository
Actions:
  1. Once all commits are created, push the current branch to the remote repository
  2. Use
    git push
    (add
    -u origin <branch>
    if upstream is not set)
目标:将提交推送到远程仓库
操作步骤:
  1. 完成所有提交创建后,将当前分支推送到远程仓库
  2. 使用
    git push
    命令(若未设置上游分支,添加
    -u origin <branch>
    参数)