git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Credential error - Cache credential helper does not work properly

From
LMLopez Sanchez, Jose Maria <jose.maria.lopez.sanchez@edag.com>
Date
Jan 9, 2024, 13:21 UTC
Message-ID
<FRYP281MB329114171822EE43AF9C8C0DFD6A2@FRYP281MB3291.DEUP281.PROD.OUTLOOK.COM>
Dear Mr. / Ms.

I am José María López Sánchez a senior system engineer working for the EDAG Group company. We are willing to use GIT to start controlling our project versions. I have an issue when I want to stop inserting repeatedly my credentials. The cache function is not working somehow. I have typed the following:

> C:\Users\jl83870\Desktop\00_temp\GIT EAGEL\eagel-project>git config credential.helper 'cache
Then I introduced once my credentials to store them in cache. If the command worked, the second time that I attempted to pull the remote server, I should not have typed the credentials again to be able to trigger the command.
Show 8 quoted lines
> C:\Users\jl83870\Desktop\00_temp\GIT EAGEL\eagel-project>git pull origin
> git credential-'cache get: -c: line 0: unexpected EOF while looking for matching `''
> git credential-'cache get: -c: line 1: syntax error: unexpected end of file
> Username for 'https://csp.edag.de': jl83870
> Password for 'https://jl83870@csp.edag.de':
> git credential-'cache store: -c: line 0: unexpected EOF while looking for matching `''
> git credential-'cache store: -c: line 1: syntax error: unexpected end of file
> Already up to date.
As I mentioned above, when I want to pull again, appears the same previous code.
I have also tried with the below options:
-       git config credential.helper cache (without ‘ )
-       git config credential helper cache --timeout=1800
-       git config credential.helper ‘cache --timeout=1800’
-       git config credential.helper ‘cache [--timeout=1800]’
Am I programming something wrong? Could you please help me with it?

Mit freundlichen Grüßen / Best regards / Saludos cordiales i.A. José María López Sánchez Senior Systemingenieur Antriebsstrang / Senior Systems engineer Drivetrain / Ingeniero senior de sistemas de trenes de transmisión Fahrzeug-Integration / Vehicle Integration / Integración de vehículos

EDAG Engineering Spain, S.L I Reesbergstraße 1 I 36039 Fulda I Germany​
Phone:  +49 661 6000-83870
E-Mail:  jose.maria.lopez.sanchez@edag.com I www.edag.com

YOUR GLOBAL MOBILITY​ AND INDUSTRY ENGINEERING EXPERTS Find us online: LinkedIn I XING I Facebook I Instagram I Twitter I YouTube I TechInsights

EDAG Engineering Spain, S.L, Carretera del Prat, 65, E-08940 Cornellá de Llobregat (Barcelona), Spanien El court register: Registro Mercantil de Barcelona, Tomo 41564, Folio 15, Hoja 92217

Please consider the environment before printing this e-mail.
This e-mail may contain confidential and / or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

________________________________ Die Pflichtinformationen nach Art. 12 ff. DSGVO erhalten Sie hier<https://www.edag.com/de/rechtliches/datenschutz-teams-e-mail>. / Mandatory information pursuant to Article 12 et seq. GDPR can be found here<https://www.edag.com/en/legal/data-privacy-teams-e-mail>.

Next: Matthias Aßhauer
Message 1 of 2 in “Credential error - Cache credential helper does not work properly”
  1. Lopez Sanchez, Jose MariaJan 9, 2024
  2. Matthias AßhauerJan 9, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.