# liuao1 **Repository Path**: xiaolllll/liuao1 ## Basic Information - **Project Name**: liuao1 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-27 - **Last Updated**: 2021-07-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1.终端基础命令 -clear 清除终端显示 -ls 罗列出该路径下所有的文件和文件夹 -pwd 读取当前文件夹的路径 -cd 进入某一个文件夹 cd 某一个文件夹的路径 cd ..进入上一层文件夹 2.GIT的基本操作 -初始化git 仓库 git init -将一个文件添加到git暂存区 git add xxx.txt -将暂存区提交到git仓库 git commit -m“做了什么” -将文件还原至之前版本 git reset --hard 115b213eec11830f1e3007a44aa4b6b1612f4712 -查看当前仓库状态 git status -查看当前仓库提交日志 git log -查看所有历史日志 git reflog