add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

28
pages.zh/linux/legit.md Normal file
View File

@@ -0,0 +1,28 @@
# legit
> Git的补充命令行接口。
> 更多信息:<https://frostming.github.io/legit>。
- 切换到指定的分支,暂存和恢复未暂存的更改:
`git switch {{target_branch}}`
- 同步当前分支,自动合并或变基,并进行暂存和恢复:
`git sync`
- 将指定的分支发布到远程服务器:
`git publish {{branch_name}}`
- 从远程服务器移除一个分支:
`git unpublish {{branch_name}}`
- 列出所有分支及其发布状态:
`git branches {{glob_pattern}}`
- 从历史记录中移除最后一个提交:
`git undo {{--hard}}`