我如何在Windows上使用git-new-workdir? [英] How do I use git-new-workdir on windows?

查看:152
本文介绍了我如何在Windows上使用git-new-workdir?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个有两个分支的回购协议,我想同时处理。
经过一番阅读后,我发现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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆