Initial upload: DotMigrate dotfiles migration tool with CI/CD
This commit is contained in:
44
examples/config.yml
Normal file
44
examples/config.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
version: "1.0"
|
||||
|
||||
sync:
|
||||
backend: Git
|
||||
remote: https://github.com/yourusername/dotfiles
|
||||
branch: main
|
||||
path: dotfiles
|
||||
excludes:
|
||||
- "*.swp"
|
||||
- "*~"
|
||||
|
||||
merge:
|
||||
strategy: ask
|
||||
keep_backup: true
|
||||
auto_resolve: false
|
||||
|
||||
detect:
|
||||
patterns:
|
||||
- ".*"
|
||||
- ".config/*"
|
||||
- ".local/*"
|
||||
exclude_patterns:
|
||||
- ".git"
|
||||
- ".gitignore"
|
||||
- "node_modules"
|
||||
- ".cache"
|
||||
include_hidden: true
|
||||
scan_depth: 5
|
||||
|
||||
backup:
|
||||
directory: ~/.dotmigrate/backups
|
||||
max_backups: 10
|
||||
timestamp_format: "%Y-%m-%d_%H-%M-%S"
|
||||
|
||||
dotfiles:
|
||||
- path: ~/.vimrc
|
||||
template: false
|
||||
excludes: []
|
||||
- path: ~/.zshrc
|
||||
template: false
|
||||
excludes: []
|
||||
- path: ~/.config/git/config
|
||||
template: false
|
||||
excludes: []
|
||||
Reference in New Issue
Block a user