gpt4 book ai didi

git - Oh My Zsh - git 插件 alises ggp (git push origin $(current_branch)) 与 ggpush (git push origin "$(git_current_branch)")

转载 作者:行者123 更新时间:2023-12-05 03:43:50 25 4
gpt4 key购买 nike

在 Oh My Zsh git 插件文档中 GitHub , 在列出的别名命令中有以下:

<表类="s-表"><头>别名命令<正文>gpgit push 源 $(current_branch)加推git push origin "$(git_current_branch)"gglgit pull 源 $(current_branch) pull git pull origin "$(git_current_branch)"

$(current_branch)"$(git_current_branch)" 有什么区别?

最佳答案

没有区别,current_branchgit_current_branch的兼容别名。参见 the code .

关于git - Oh My Zsh - git 插件 alises ggp (git push origin $(current_branch)) 与 ggpush (git push origin "$(git_current_branch)"),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66607132/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com