📌 📄 内容摘要:
@stevessr 在 使用 chezmoi 备份你的 dotsfile 中发帖
自己安装去
初始化:
chezmoi init
添加东西
chezmoi add ~/.bashrc
编辑
chezmoi edit $FILE
进入初始化的git仓库
chezmoi cd
都加上
git add .
初始化的
git commit -m "Initial commit"
添加源
git remote add origin [email protected]:$GITHUB_USERNAME/dotfiles.git
git branch -M main
git push -u origin main
来添加你的~~
chezmoi init https://github.com/$GITHUB_USERNAME/dotfiles.git
如果你要自动?上传
我真是太水了
────────── 链接信息 ────────── 🔗 论坛链接: linux.do 📎 访问地址: https://linux.do/t/topic/1243446/1 ─────────────────────────────
📢 来源:LINUX DO