Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sunesimonsen/chezmoi
Dotfiles
https://github.com/sunesimonsen/chezmoi
Last synced: about 1 month ago
JSON representation
Dotfiles
- Host: GitHub
- URL: https://github.com/sunesimonsen/chezmoi
- Owner: sunesimonsen
- Created: 2023-02-01T19:10:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-02T05:53:38.000Z (8 months ago)
- Last Synced: 2024-10-08T23:21:01.922Z (about 1 month ago)
- Language: Emacs Lisp
- Size: 37.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chezmoi
## Import on a new computer
```sh
brew install chezmoi
chezmoi cd
git init
git remote add origin https://github.com/sunesimonsen/chezmoi.git
git checkout main
git pull
```# Backup
Before you apply the changes, run chezmoi diff to see if it will override anything. Create backups of those files.
Alternatively you can run chezmoi apply and you will be prompted.
# Apply changes from Github
```sh
chezmoi update
```# Synchronize changes back to Github
```sh
chezmoi re-add
chezmoi cd
git add .
git ci -m "message"
git push
```