记录一些常用的系统或者软件命令
kill port
linux
1 | 查看端口占用 |
windows
1 | 查看端口占用 |
定时关机
linux
1 | shutdown |
windows
1 | shutdown |
刷新 dns hosts
windows
1 | ipconfig /flushdns |
Git
config
1 | 显示当前的 Git 配置 |
add
1 | git add -A (stage all files: new, modified, deleted) |
commit
1 | git commit -m [message] |
pull
1 | 取回远程仓库的变化,并与本地分支合并 |
push
1 | 上传本地指定分支到远程仓库 |
branch
1 | 列出所有本地分支 |
cherry-pick
1 | 选择一个commit,合并进当前分支 |
remote
1 | 显示所有远程仓库 |