码迷,mamicode.com
首页 > 其他好文 > 详细

Git Bash常用命令

时间:2019-11-10 09:16:16      阅读:74      评论:0      收藏:0      [点我收藏+]

标签:net   当前目录   art   csdn   bash   head   ash   windows命令   info   

Git Bash常用命令

在Windows下使用Git Bash,用的是Linux命令,常用几个文件操作命令如下:

 

Windows命令 Linux命令 意义
cd e:\xxx cd /e/xxx 切换到xxx目录
cd pwd 显示当前目录路径
dir ls 列出当前目录内容
copy nul xxx.txt touch xxx.txt 生成名为xxx.txt的空文件
del xxx.txt rm xxx.txt 删除xxx.txt文件
md xxx mkdir xxx 建立xxx目录
rd /s xxx rm -r xxx 删除xxx目录

 

Git Bash常用命令

标签:net   当前目录   art   csdn   bash   head   ash   windows命令   info   

原文地址:https://www.cnblogs.com/seanfafen/p/11828799.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!