Debian Codegraph @

docs/howto/improve-git-integration.md

raw
1 # Improve Git integration
2
3 The below aliases can help with the process of updating your dotfiles between multiple hosts. Add them to your `~/.zshrc` or `~/.bashrc`. You can then simply run `dotsync` to push or pull from your dotfile repository.
4
5 ```
6 # Your dotdrop git repository location
7 export DOTREPO="/path/to/your/dotdrop/repo"
8
9 alias dotdrop="$DOTREPO/dotdrop.sh"
10 alias dotgit="git -C $DOTREPO"
11 alias dotsync="dotgit pull && dotgit add -A && dotgit commit && dotgit push; dotdrop install"
12 ```
13
14 Provided by ReekyMarko.