Skip to content

backup dotfiles without git bare repo or symlinks bs

License

Notifications You must be signed in to change notification settings

daniele821/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

bash script to automagically track, backup and restore dotfiles specified in a config file

installation

  • to download the repository, run the following code:
cd $(mktemp -d) || exit 1
git clone https://github.com/daniele821/dotfiles
cd dotfiles || exit 1
  • to restore a backup, go to the branch you want (git switch <branch_name>), then run the following code:
./autosaver restore
./autosaver run

create a new backup

  • to create a new backup, it's suggested to use the init branch:
git switch init
  • then create a new branch: git checkout -b <branch_name>

About

backup dotfiles without git bare repo or symlinks bs

Resources

License

Stars

Watchers

Forks

Packages

No packages published