Git Bash 卡在 master 中
Git Bash stuck in master
我是 Rails 开发新手,尝试使用 gitbash 连接到 github,但我的 shell 卡在 master 中。
我 运行 windows 并且不能 运行 rails 在此模式下执行命令。我怎样才能恢复到默认 git bash shell?
我会使用 "rails s" 启动我的 rails 服务器,但现在我弄乱了 GitHub 东西。
master
标签就在那里,取而代之的是辅助选项!
对于 rails bash 脚本,您可能需要 git bash,但对于简单的 [=28],您不需要 bash =] 命令。
解压缩 PortableGit-2.8.4-64-bit.7z.exe 任何你想要的地方,在常规 CMD 会话中将其 bin 文件夹添加到你的 %PATH%
,cd 到你的 repo。
然后你可以执行任何你想要的 git clone/pull/fetch 命令。
在单独的 windows 中,您可以调用 bash
,然后在那个 bash 会话中,尝试您的 rails
命令。
我是 Rails 开发新手,尝试使用 gitbash 连接到 github,但我的 shell 卡在 master 中。
我 运行 windows 并且不能 运行 rails 在此模式下执行命令。我怎样才能恢复到默认 git bash shell?
我会使用 "rails s" 启动我的 rails 服务器,但现在我弄乱了 GitHub 东西。
master
标签就在那里,取而代之的是辅助选项!
对于 rails bash 脚本,您可能需要 git bash,但对于简单的 [=28],您不需要 bash =] 命令。
解压缩 PortableGit-2.8.4-64-bit.7z.exe 任何你想要的地方,在常规 CMD 会话中将其 bin 文件夹添加到你的 %PATH%
,cd 到你的 repo。
然后你可以执行任何你想要的 git clone/pull/fetch 命令。
在单独的 windows 中,您可以调用 bash
,然后在那个 bash 会话中,尝试您的 rails
命令。