点文件
这些是我用于各种程序的配置文件,还有我喜欢跟踪的其他文件。 在分支root您可以在我的主目录之外找到配置文件。
设置
git clone --bare https://github.com/aljoschua/dotfiles ~ /.config/dotfiles
alias dot= " git --git-dir= $HOME /.config/dotfiles --work-tree= $HOME "
dot checkout @ -- .config/dotfiles
dot -c user.name=a -c user.email=a stash
或者,您可以发出wget -O- git.io/JqcSG | bash wget -O- git.io/JqcSG | bash
撤消设置
假设您还没有添加更多的隐藏条目:
dot stash pop
unalias d