📝 Tech Notes

个人技术笔记 / 指令速查库

SSH · Docker · Linux · Git · Vim · Python

🔍

⚡ 常用指令速查

Git 撤销 commitgit
git reset --soft HEAD~1
Docker 清理所有容器docker
docker rm -f $(docker ps -aq)
SSH 免密登录ssh
ssh-copy-id user@host
查找大文件linux
find . -type f -size +100M
Python 虚拟环境python
python -m venv .venv && source .venv/bin/activate
Git 查看历史git
git log --oneline --graph --all

按下 Ctrl+K 随时全局搜索笔记