小编Mic*_*eim的帖子

为什么 git commit 在 git Windows 上无法识别 --amend ?

我正在尝试遵循建议Can you GPG Sign old commits?

\n
\xce\xbb git rebase --exec \'git commit --amend --no-edit -n -S\' -i develop\n
Run Code Online (Sandbox Code Playgroud)\n

但得到

\n
error: unknown option `amend\'\n
Run Code Online (Sandbox Code Playgroud)\n

我正在运行 git 版本2.23.0.windows.1

\n

shell git command-line

4
推荐指数
1
解决办法
1697
查看次数

标签 统计

command-line ×1

git ×1

shell ×1