Backup local config files to repo
pip install configkeeper==0.1.1
ConfigKeeper simply backs up a config file on your machine by copying it into a repository under a folder named after your machine. It then proceeds pushing the added/changed file.
backup path/to/config-file
Clone the repository. Link the script somewhere under your $PATH
.
The following assumes that ~/.local/bin
is added to your path.
git clone https://gitlab.com/loxosceles/configkeeper.git ~/tools
ln -s ~/tools/configkeeper/backup ~/.local/bin/backup
Create a repository for your config files you want to back up. Mine is
~/.local_configurations
.