Compare commits

..

No commits in common. "e073cddd87ebf975b8b045eb8a5f23db808f58ef" and "4bdf9b82bcd48e3407534088fe6a88a25eafa980" have entirely different histories.

3 changed files with 0 additions and 69 deletions

View File

@ -1 +0,0 @@
hello.

View File

@ -1,34 +0,0 @@
## 2.6
### 2.6.1
用来查看stash列表
```bash
git stash list
```
恢复进度
```bash
git stash pop
```
```bash
git commit -m "message" # 执行提交
git status -s # 查看状态
```
```bash
git reset --soft HEAD^ #反悔提交 将HEAD指向当前提交的父提交
git reset HEAD a/b/c # 将a/b/c目录下的文件撤出暂存区
git reset 将所有的文件从stage中撤出
```
```bash
git checkout -- welcome.txt # 清除welcome.txt的改动
git clean -nd # 删除本地多余的目录和文件列表
git clean -fd # 真正删除
```

View File

@ -1,34 +0,0 @@
## 2.6
### 2.6.1
用来查看stash列表
```bash
git stash list
```
恢复进度
```bash
git stash pop
```
```bash
git commit -m "message" # 执行提交
git status -s # 查看状态
```
```bash
git reset --soft HEAD^ #反悔提交 将HEAD指向当前提交的父提交
git reset HEAD a/b/c # 将a/b/c目录下的文件撤出暂存区
git reset 将所有的文件从stage中撤出
```
```bash
git checkout -- welcome.txt # 清除welcome.txt的改动
git clean -nd # 删除本地多余的目录和文件列表
git clean -fd # 真正删除
```