https://github.com/jonas-scholz123/dotfiles
All of my .configs, in one place
https://github.com/jonas-scholz123/dotfiles
Last synced: about 1 month ago
JSON representation
All of my .configs, in one place
- Host: GitHub
- URL: https://github.com/jonas-scholz123/dotfiles
- Owner: jonas-scholz123
- Created: 2024-12-19T22:32:28.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-19T22:49:51.000Z (6 months ago)
- Last Synced: 2025-02-16T19:22:30.066Z (4 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Following this guide:
https://www.atlassian.com/git/tutorials/dotfiles
Using `dotfiles` as my command.
## To install
Add this to .zshrc/.bashrc etc:
```
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
```Clone the repo:
```
git clone --bare https://github.com/jonas-scholz123/dotfiles.git $HOME/.dotfiles
```Check out the actual repo content:
```
dotfiles checkout
```
(If you have problems, remove existing config files first.)Finally, make sure no untracked files are shown/added to commits.
```
dotfiles config --local status.showUntrackedFiles no
```## To use
Just use git commands but using the `dotfiles` alias, e.g.
```
dotfiles add .zed/settings.json
dotfiles commit -m "Add zed settings"
dotfiles push
```