git rebase x运行别名

问题描述 投票:0回答:1

我在执行exec时尝试使用别名git rebase -i

pick hash commit_message
x alias_name

错误:

Executing: alias_name
error: cannot run alias_name: No such file or directory
warning: execution failed: alias_name
You can fix the problem, and then run

  git rebase --continue

alias alias_name='calls a phyton script to run arc command'

如果我确实在终端上运行别名,它将按预期工作。

terminal zsh rebase arcanist
1个回答
0
投票
pick hash commit_message x source some_file; shopt -s expand_aliases; alias_name
© www.soinside.com 2019 - 2024. All rights reserved.