eny.space Landingpage
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs(readme): add multi-remote Git setup instructions and contribution guidelines

Sam Sauer a8d329b5 cb6585be

+40
+40
README.md
··· 100 100 - `lib/` - Payment processor client configuration 101 101 - `components/` - React components for payment forms 102 102 - `utils/` - Utility functions 103 + 104 + ## Multi-Remote Git Setup 105 + 106 + This repo syncs to two servers (tangled.sh primary, GitHub mirror) using a custom `all` remote. Running `git push all` updates both simultaneously. 107 + 108 + ### Current Config 109 + 110 + ```bash 111 + all git@tangled.sh:samsour.de/eny-space (fetch) 112 + all git@github.com:Krekeny/eny-space.git (push) 113 + origin git@tangled.sh:samsour.de/eny-space (fetch) 114 + origin git@tangled.sh:samsour.de/eny-space (push) 115 + ``` 116 + 117 + ### Setup (New Clones) 118 + 119 + ```bash 120 + # Clone primary 121 + git clone git@tangled.sh:samsour.de/eny-space 122 + 123 + # Add GitHub mirror push 124 + cd eny-space 125 + git remote rename origin tangled 126 + git remote add all git@tangled.sh:samsour.de/eny-space 127 + git remote set-url --add --push all git@github.com:Krekeny/eny-space.git 128 + 129 + # Push everything 130 + git push all --all 131 + git push all --tags 132 + ``` 133 + 134 + ### How to Contribute 135 + 136 + 1. Clone: `git clone git@tangled.sh:samsour.de/eny-space` 137 + 2. Branch: `git checkout -b your-feature` 138 + 3. Work: edit → `git add . && git commit -m "Your message"` 139 + 4. Push: `git push all` (syncs both servers!) 140 + 5. Update: `git fetch --all && git checkout main && git pull tangled main` 141 + 142 + Pro tip: add an alias `pushall="git push all"` in your shell config (e.g. `~/.bashrc` or `~/.zshrc`) for speed.