Strip remote credentials without deleting remotes

This commit is contained in:
mpabi
2026-04-27 19:59:45 +02:00
parent e60b7c9148
commit ffd12c9905
4 changed files with 31 additions and 18 deletions
+3 -1
View File
@@ -29,7 +29,9 @@ Kierunek jest jawny:
- `tokens sync remote r1` czyta git remote `r1` i zapisuje rekord do `tokens.json`
- `tokens sync store r1` czyta `tokens.json` i zapisuje auth do git remote `r1`
- `tokens update r1` nie synchronizuje sekretu, tylko pobiera metadane z API
- `tokens remove ... r1` usuwa rekord ze store, git remote albo oba miejsca
- `tokens remove store r1` usuwa rekord z `tokens.json`
- `tokens remove remote r1` usuwa poswiadczenia z URL-a git remota, ale zostawia remote
- `tokens remove both r1` usuwa rekord ze store i poswiadczenia z URL-a git remota
## Format `tokens.json`