githubteacher / githubteacher/githubfordevelopers-april

git push f() {sleep 1; echo "username=*** token=<**********>"; } f erase: 1: Syntax error: "}" unexpected

Aperta
#158 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
4
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I used token for git push, it ran well before, and I checked the token, it was not expired. While, when I run "git push" in terminal, it was prompted:
`
f() {sleep 1; echo "username=*** token=<*********>"; } f erase: 1: Syntax error: "}" unexpected
Username for 'https://github.com':
`
After I input the username and password(token), it was prompted:
`
f() {sleep 1; echo "username=*** token=<*********>"; } f erase: 1: Syntax error: "}" unexpected
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/mianqi2016/MCS-51_asm.git/'
`

What's wrong?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia riproducendo il comando git push segnalato e analizza l’output della shell contenente la definizione della funzione e il fallimento dell’autenticazione. Il lavoro è completato quando è stato identificato il motivo per cui il comando produce l’errore di sintassi ed è stata ripristinata l’autenticazione corretta al remote GitHub.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
git, github
Ambito
authentication
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.