git-commit
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese提交所有变更(纯本地操作):
- 先检查 再决策。
git status --porcelain - 若有变更:按可审计粒度提交,提交信息清晰,且只提交应入库文件。
- 若发现应忽略文件:可更新 并纳入提交。
.gitignore - 结束时应尽量保证工作区干净.
Commit all changes (local-only operation):
- First check before making a decision.
git status --porcelain - If there are changes: Commit according to auditable granularity, with clear commit messages, and only submit files that should be stored in the repository.
- If files that should be ignored are found: Update and include it in the commit.
.gitignore - Try to ensure the working directory is clean at the end.