https://github.com/jcocozza/dotfiles
Repo for my configuration files
https://github.com/jcocozza/dotfiles
Last synced: 3 months ago
JSON representation
Repo for my configuration files
- Host: GitHub
- URL: https://github.com/jcocozza/dotfiles
- Owner: jcocozza
- Created: 2023-10-06T20:00:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-26T12:33:46.000Z (over 1 year ago)
- Last Synced: 2025-02-26T13:39:03.843Z (over 1 year ago)
- Language: Vim Script
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dotfiles
This is the set of files I use for development.
Simple run the install script on any server and you should read to go.
## Installation
Install mode is either "safe" or "super".
Run the following command to set up a linux or macos machine:
```bash
curl -sSL https://raw.githubusercontent.com/jcocozza/dotfiles/main/install.sh | bash -s --
```
`` is either "safe" or "super".
Use "safe" when installing on servers you don't have sudo access.
Use "super" when you can install with sudo.
## Workflow
The logic for dotfiles is "inverted" from the typical branching structure of a repository.
The "main" branch serves as a base branch and contains things that are standard to all machines.
On install, a new branch is created specific to that machine.
Any changes to that branch are specific to that machine and will never be propagated to other machines. (e.g. adding things like environment variables for a particular server)
Changes to the main branch, on the other hand, are intended to be propagated to other machines.
This is done with the `update.sh` script.
The update just does a rebase on the machine-specific branch to include the new main branch changes.
## Useful notes
Adding other repositories is best done like this: `git submodule add `