Answer product-owner round 1: ask the human to move the credential out, mkdir before cd, release tags only, file item 71
This commit is contained in:
@@ -20,17 +20,17 @@ Me, on my own machines, which take tagged releases. Nobody else depends on it.
|
||||
|
||||
## Install
|
||||
|
||||
Check out the latest tag in `~/.claude`, which Claude Code creates on its first run, so `git clone` refuses it:
|
||||
Check out the latest tag in `~/.claude`, which Claude Code may already have created, so `git clone` would refuse it:
|
||||
|
||||
```sh
|
||||
cd ~/.claude
|
||||
mkdir -p ~/.claude && cd ~/.claude
|
||||
git init
|
||||
git remote add origin ssh://git@gitea.larvit.se:21022/lilleman/claude-config.git
|
||||
git fetch --tags origin
|
||||
git checkout -f "$(git tag --sort=-v:refname | head -n 1)"
|
||||
git checkout -f "$(git tag -l 'v*' --sort=-v:refname | head -n 1)"
|
||||
```
|
||||
|
||||
`-f` overwrites the `settings.json` Claude Code wrote. Have Python 3.11 or newer as `python3` on `PATH`, and for Rust projects `rust-analyzer` on `PATH`, which the `rust-analyzer-lsp` plugin needs. Install every plugin `settings.json` enables:
|
||||
`-f` overwrites every tracked file already there, such as the `settings.json` Claude Code wrote. Have Python 3.11 or newer as `python3` on `PATH`, and for Rust projects `rust-analyzer` on `PATH`, which the `rust-analyzer-lsp` plugin needs. Install every plugin `settings.json` enables:
|
||||
|
||||
```sh
|
||||
claude plugin marketplace add anthropics/claude-plugins-official
|
||||
|
||||
Reference in New Issue
Block a user