linux – 是否可以在没有git前缀的情况下运行git命令
发布时间:2020-12-14 02:07:36 所属栏目:Linux 来源:网络整理
导读:正如标题所说,是否可以启动一个交互式git shell,其中所有命令都自动以git为前缀? 所以不要这样做: git fetchgit addgit commit 我希望能够做到这样的事情: git -i #start the 'interactive' git shell,not the right command obviouslyfetch #does git fe
正如标题所说,是否可以启动一个交互式git
shell,其中所有命令都自动以git为前缀?
所以不要这样做: git fetch git add git commit 我希望能够做到这样的事情: git -i #start the 'interactive' git shell,not the right command obviously fetch #does git fetch add #does git add commit #does git commit git -x #exit the 'interactive' git shell 解决方法
我不认为这样的模式是在git中集成的.我建议你检查
git-sh .你可以配置它来使用你喜欢的别名.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |