Common instructions
Github Documents
1 | git init |
- 如果有冲突,先拉取pull合并在push
1
2git pull re1 main --rebase
git push -u re1 main1
2
3git add .
git commit -m "描述你的更改"
git push origin 新分支名1
2
3进入文件夹,运行指令
bundle exec jekyll serve -l -H localhost
访问localhost:4000
LFS上传
1 | git init |
查看分支,切换分支
1 | git branch // 查看分支 |
初始化,拉取代码
1 | git init |
CMAKE编译相关
1 | # gcc编译c,g++编译cpp |
Hexo+next相关操作
1 | hexo clean // 清空缓存 |
ubuntu常用指令
1 | dir # 查看文件夹 |
conda
1 | conda create -n my_env python=3.9 |
nvidia-jetson
1 | cat /proc/device-tree/model # 查看硬件信息 |
1 | curl -LsSf https://astral.sh/uv/install.sh | sh # 安装uv(类似conda,环境管理器) |