A simple tool for backing up your dot files to your own GitHub account.
- Create a new private repository on your GitHub account, name it dotf2git. Don't add any files to it.
- Open a Terminal and run:
cd ~ && git clone git@github.com:PeachlifeAB/dotf2git.git && dotf2git/backupThis will set the remotes up for you and ensure you easily can receive latest features and bug fixes.
To sync and back up your dotfiles, run:
~/dotf2git/backup~/dotf2git/updateThis will pull latest upstream changes to your personal version of this repo.
Supported Just clone your private version of this repo on each computer and run:
~/dotf2git/backupThe script will create a new branch named after each computer’s hostname, ensuring separate backups for each machine.
Since dotf2git is based on git you can checkout and pull any computer branch locally to copy files between computers.
Add a file name to the .whitelist file created for your computer on first run. If you think it should be included for everyone, please add an issue