我如何在Windows上使用git-new-workdir? [英] How do I use git-new-workdir on windows?
问题描述
我有一个有两个分支的回购协议,我想同时处理。
经过一番阅读后,我发现git有一个脚本 GIT-新WORKDIR
。
我试着运行使用 git for windows bash,但出现以下错误。
$ git-new-workdir
sh :git-new-workdir:找不到命令
如何在 windows 上使用此脚本?
由于 git-new-workdir
函数不存在于Windows上,脚本将不起作用。
我找到了脚本的这个窗口。适用于我。
https:/ /github.com/joero74/git-new-workdir
I have a repo that has two branches, which i would like to work on simultaneously.
After some reading I found git has a script git-new-workdir
.
Im trying run use the script from the git for windows bash but get the following error.
$ git-new-workdir
sh: git-new-workdir: command not found
How do I use this script on windows?
Due to some of the commands in the git-new-workdir
functions not existing on windows, the script won't work.
I have found this windows port of the script. Works great for me.
https://github.com/joero74/git-new-workdir
这篇关于我如何在Windows上使用git-new-workdir?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!