跳至正文

Git Command Helper

通过可视化界面轻松生成复杂的Git命令。适用于Git初学者和高级用户。

Usage Tips

  • Always check current branch before running commands
  • Use --hard reset carefully as it discards changes
  • Interactive rebase allows you to modify commit history
  • Cherry-pick applies specific commits from other branches

主要功能

  • 6个类别(Branch、Commit、Stash、Reset、Rebase、Cherry-pick)
  • 复杂选项的可视化界面
  • 实时命令生成
  • 命令说明
  • 一键复制到剪贴板

类别

Branch

创建、切换、删除分支及与远程同步

Commit

使用各种选项提交(-a、--amend、--no-verify)

Stash

临时保存和管理工作更改

Reset

撤销提交和更改工作目录状态(--soft、--mixed、--hard)

Rebase

重写和清理提交历史(支持交互模式)

Cherry-pick

应用其他分支的特定提交

安全提示

  • 运行命令前始终检查当前分支
  • 使用--hard重置要小心,会永久丢弃更改
  • 危险操作前创建备份
  • 使用git statusgit diff验证更改

相关工具