GIT (一)

GIt Bash 常用命令

#change director

cd

#make director

mkdir

#print working directory

pwd

#move

mv

#copy

cp

#remove

rm

其他

echo 打印
echo 'hello' 在命令行中打印一个 hello
echo 'hello' > a.txt 创建一个纯文本文件a把hello打印进去
cat a.txt 查看a中的内容
cp a.txt b.txt 复制a 到b
ls 目录
ls ..上一级目录
mv b.txt ../b.txt 把b移动到上一级文件夹

mv a.txt c.txt 重命名
rm c.txt  删除c