Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
aehyok committed Nov 9, 2023
1 parent e253233 commit 1ea3e63
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
9 changes: 9 additions & 0 deletions docs/daily/2023-11.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@

## 11月8日
- 前端监控
- https://www.webfunny.com/desMonitor?blogUrl=128&menuKey=menu2&blogKey=2-0
- https://github.com/a597873885/webfunny_monitor
- google/zx 执行命令的时候
```
请注意,使用 && 是更好的实践,因为它会在 cd 命令成功后执行 git pull,而使用分号 ; 会无论 cd 成功与否都执行 git pull。
```

## 11月2日
- win10升级win11设置
- https://support.microsoft.com/zh-cn/windows/windows-11%E5%92%8C%E5%AE%89%E5%85%A8%E5%90%AF%E5%8A%A8-a8ff1202-c0d9-42f5-940f-843abef64fad
Expand Down
28 changes: 27 additions & 1 deletion docs/javascript/2022-05-07-git.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,11 @@
// 如果都恢复完毕 可以使用clear进行清除
git stash clear
// 保存未跟踪的文件
git stash push --include-untracked
//或者简写
git stash push -u
```
- 5.3、恢复commit提交 // https://mp.weixin.qq.com/s/LDxXR302F9G35x3uwHh0jg
Expand Down Expand Up @@ -385,4 +390,25 @@
.env.*
//在.gitignore文件中添加完之后,需要将git索引中的文件移除
git rm --cached .env.*
```
```

- 8、恢复文件
```
// (如果还没有提交文件)撤销单个文件
git restore file
git checkout -- file

// 如果是多个文件的话
git chekcout -- .

// 取消掉所有的更改
git reset --hard
```
- 9、设置git忽略
```
// 会匹配根目录下的 /server 目录,也会匹配任何子目录下的
server

// 设置根目录下的server文件夹
server/
```
9 changes: 8 additions & 1 deletion docs/javascript/2023-10-26-培训.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,17 @@ journalctl -u dvsv3-* -f| grep 未找到
mv codeup work
```
## 递归拷贝文件夹
```
// 在release/cms 目录下的
cp -r console /usr/local/sunlight/dvsv3/ui/
cp -r dvs-monitor /usr/local/sunlight/dvsv3/ui/console/child
```
## 查看当前用户
```
whoami

echo $USER

```
```

0 comments on commit 1ea3e63

Please sign in to comment.