Auto-rename origin during token sync

This commit is contained in:
mpabi
2026-04-29 02:21:59 +02:00
parent af96388f6a
commit 46f2f44118
4 changed files with 79 additions and 36 deletions
+3
View File
@@ -447,6 +447,9 @@ Zapisuje dane auth z rekordu `REMOTE_ID` w `tokens.json` do git remote o tej
samej nazwie. Jeśli remote jeszcze nie istnieje, URL jest budowany z pól
`server.endpoint`, `org` i `repo` w `tokens.json`.
Jeżeli repo ma tylko remote `origin` wskazujący ten sam URL, `sync store`
automatycznie przemianuje `origin` na `REMOTE_ID` przed wpisaniem credentials.
Przełączniki:
- `--repo PATH`