@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 git@github.com:$GITHUB_USERNAME/dotfiles.git
git branch -M main
git push -u origin main

来添加你的~~
chezmoi init https://github.com/$GITHUB_USERNAME/dotfiles.git
如果你要自动?上传

我真是太水了