如何使用git bash更改文件夹? [英] How to change folder with git bash?

查看:239
本文介绍了如何使用git bash更改文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的默认git文件夹是C:\Users\username.git

My default git folder is C:\Users\username.git

但我想进入c:/ project

But I want to go into c:/project

我需要做什么命令?

What command do I need to get into that?

推荐答案

命令是:

cd / c / project /

提示:

使用 pwd 命令查看您当前正在使用的路径,当您右键单击Git Bash ...

Tip:
Use the pwd command to see which path you are currently in, handy when you did a right-click "Git Bash here..."

这篇关于如何使用git bash更改文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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