What does the exclamation mark mean in git config alias?

后端 未结 2 1842
情深已故
情深已故 2020-12-29 19:43

I just see a git config command as below:

git config --global alias.out \\!\"git fetch; git cherry origin/HEAD -v\"

what does it mean? Is i

2条回答
  •  隐瞒了意图╮
    2020-12-29 20:27

    From the git-config manual:

    If the alias expansion is prefixed with an exclamation point, it will be treated as a shell command.

提交回复
热议问题