How do you guys quickly sync your settings (especially bash aliases and ssh keys) across your machines?
Ideally i want a simple script to run on every new server I work with. Any suggestions?
How do you guys quickly sync your settings (especially bash aliases and ssh keys) across your machines?
Ideally i want a simple script to run on every new server I work with. Any suggestions?
Use a git repo and
stow
tool. For updating, you only need rungit pull
(andstow
if you create config for a new software). If you modify some config, just git add && git commit && git push.With this way, you can also record change history of your config.