Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add:新增 清理本地分支 命令 #10

Merged
merged 1 commit into from
Jun 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ path\to\中文git.exe 命令
| 重置 (+保留更改(默认)/+删除更改) | reset (--mixed/--hard) | 把我推到过去,让我重来一次! |
| 公告 | / | 没人比我更懂中文Git |
| 差异 | diff | 找 不 同 ~ |
| 清理本地分支 | remote prune origin | 清除在远程仓库中不存在的分支 |

> [!NOTE]
> 对于`提交`命令,如果提交信息带空格请用`"`将提交信息括起来
Expand Down
1 change: 1 addition & 0 deletions README_DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ path\to\中文git.exe 命令
| 重置 (+保留更改(默认)/+删除更改) | reset (--mixed/--hard) | 移动 HEAD 指针以及修改暂存区和工作目录中的文件状态 |
| 公告 | / | 显示中文Git版本的最新公告 |
| 差异 | diff | 显示文件间的差异 |
| 清理本地分支 | remote prune origin | 清除在远程仓库中不存在的分支 |

> [!NOTE]
> 对于`提交`命令,如果提交信息带空格请用`"`将提交信息括起来
Expand Down
1 change: 1 addition & 0 deletions USER_HANDBOOK.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ pip install -r requirements.txt
| 重置 (+保留更改(默认)/+删除更改) | reset (--mixed/--hard) | 移动 HEAD 指针以及修改暂存区和工作目录中的文件状态 |
| 公告 | / | 显示中文Git版本的最新公告 |
| 差异 | diff | 显示文件间的差异 |
| 清理本地分支 | remote prune origin | 清除在远程仓库中不存在的分支 |

> [!NOTE]
> 对于`提交`命令,如果提交信息带空格请用`"`将提交信息括起来
Expand Down
1 change: 1 addition & 0 deletions 中文git-pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ def git_command(command, *args):
"还原": "revert",
"重置": "reset",
"差异": "diff",
"清理本地分支": "remote prune origin",
# 可根据需要添加更多映射
}
if command == "帮助":
Expand Down
Binary file modified 中文git.exe
Binary file not shown.
1 change: 1 addition & 0 deletions 中文git.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ def git_command(command, *args):
"还原": "revert",
"重置": "reset",
"差异": "diff",
"清理本地分支": "remote prune origin",
# 可根据需要添加更多映射
}
if command == "帮助":
Expand Down