spi*_*ace 5 git git-filter-branch
我正在尝试使用git filter-branch --msg-filterWindows cmd重命名一些提交消息,如下所示:
git filter-branch --msg-filter "python my_editing_script.py" -- --first-parent --no-merges 37827a6c7a65f8e878e..my_branch_name
Run Code Online (Sandbox Code Playgroud)
从my_editing_script.py读取旧消息stdin并将新消息输出到stdout。
但我得到
fatal: options not supported in --stdin mode
Could not get the commits
Run Code Online (Sandbox Code Playgroud)
我究竟做错了什么?