Commit c2bea91
committed
fix: Push-Operationen von Credential-Skip ausgenommen + bessere Fehlermeldungen
Push-Operationen benötigen IMMER Authentifizierung, auch bei öffentlichen Repos:
1. Push.cs erweitert:
- Prüft ob Credentials vorhanden sind
- Zeigt hilfreiche Fehlermeldung mit Anleitung für PAT/SSH Setup
- Erklärt warum Push Authentifizierung braucht
2. Command.cs angepasst:
- Push-Operationen werden NIE als 'public operation' behandelt
- SkipCredentials wird für Push explizit deaktiviert
- isPushOperation Check verhindert Credential-Skip bei Push
3. Remote URL auf SSH umgestellt:
- origin nutzt jetzt git@github.com:Iniationware/sourcegit.git
- SSH ist die empfohlene Methode für Push-Operationen
- Umgeht das GitHub HTTPS Password-Verbot
Wichtig: GitHub erlaubt seit 2021 keine Passwort-Authentifizierung über HTTPS.
Man muss entweder Personal Access Tokens (PAT) oder SSH-Keys verwenden.1 parent 5819517 commit c2bea91
2 files changed
+68
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
182 | 183 | | |
183 | | - | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
224 | 225 | | |
225 | 226 | | |
226 | 227 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
| 228 | + | |
| 229 | + | |
231 | 230 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
| 231 | + | |
245 | 232 | | |
246 | | - | |
247 | | - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
248 | 255 | | |
249 | 256 | | |
250 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
43 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
44 | 83 | | |
45 | 84 | | |
46 | 85 | | |
| |||
0 commit comments