←→↑↓ / hjkl: navigate 导航
PgUp / PgDn or ctrl+u / ctrl+d: scroll diff panel 翻页
q : quit 退出
p : pull 拉取
q : push 推送
space : toggle staged 选择
c : commit change 提交选择
shift+C : commit using git editor 使用git编辑器提交
shift+S : stash files 隐藏文件
t : add patched(i.e pick chunks of a file to add) 添加补丁(即选择要添加的文件块)
o : open 打开
e : edit 编辑
s : open in sublime(requires ‘subl’ command)
v : open in vscode(requires ‘code’ command)
i : add to .gitinore
d : delete if untracked, checkout if tracked
shift+R : refresh files 刷新
space : checkout branch 结帐分支
f : force checkout branch 强制结帐分支
m : merge into currently checked out branch 合并当前分支
c : checkout by name 按名字结帐
n : new branch 新分支
d : delete branch 删除分支
s : squash down(only available for topmost commit) 压缩(仅适用于最高提交)
r : rename commit 重命名提交
g : reset to this commit 重置该提交
space : apply 应用
g : pop
d : drop
esc : close / cancel 取消
enter : confirm 确认
tab : enter newline(if editing) 输入时的换行
hl : navigate conflicts
jk : select hunk
space : pick hunk
b : pick both hunks
z : undo(only available while still inside diff panel)