混帐bash的问题 [英] git bash questions

查看:123
本文介绍了混帐bash的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是从网上下载 http://msysgit.github.com/ msysgit和我努力学习如何使用它。我还下载了亲的git手册的副本从他们的维基。
在第2章就谈到在项目目录里输入$ git的初始化,让系统创建的.git文件夹。

i just downloaded msysgit from http://msysgit.github.com/ and am trying to learn how to use it. i also downloaded a copy of the pro git manual from their wiki. In chapter 2 it talks about typing "$ git init" in the project directory to have the system create a .git folder.

我在Unix / Linux操作系统只是新的,所以你必须原谅的简单问题。
可以说,我的项目文件夹位于:
C:\\ MyApp的\\ ABC
而这也正是我想要运行的git init命令

i'm just new at unix / linux so you'll have to excuse the simple questions. lets say my project folder is located at : c:\myapp\abc and that's where i want to run the git init command

我不知道我怎么可以改变目录到项目文件夹。
当我做一个的LS从我在,我可以通过该文件夹中的内容,我其实是在ç分不清哪里命令:\\ Program Files文件(x86)的\\的Git 我已经试过CD / MyApp的/ ABC,但它只是给我的消息没有这样的文件或目录。
我感觉我的思念很基本的东西在这里。
我的提示,当我打开混帐bash的是:

i'm not sure how i can change directories into the project folder. when i do an "ls" command from where i'm at, i can tell by the contents in the folder that i'm actually in C:\Program Files (x86)\Git. i've tried "cd /myapp/abc" but it just gives me the message " no such file or directory". i feel like i'm missing something really basic here. my prompt when i open git bash is:

$ @ MYNAME mypcname /

$myname@mypcname /

也许我只是需要一个bash教程?
我也一直在与GIT GUI打转转,我能够在另一个项目文件夹中创建一个新的回购,但我希望能够按照说明书,这对于现在,似乎是工作git的庆典工具
谢谢。

maybe i just need a bash tutorial? I've also been playing around with the GIT GUI and i was able to create a new repo in another project folder a but i'd like to be able to follow the manual, which for now, seems to be working the git bash tool thanks.

推荐答案

在混帐打击终端将会把每个驱动器的根目录中的 /<驱动器盘符> ,所以带动 C:\\ 将在 / C / ,推动 E:\\ 将在 / E / 等尝试 CD / C / MyApp的/ ABC

The "Git Bash" terminal will put the root of each drive in /<drive-letter>, so drive C:\ will be at /c/, drive E:\ will be at /e/, etc. Try cd /c/myapp/abc.

这篇关于混帐bash的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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