FG
💻 Software

How do I disable password prompts when doing git push/pull?

Fresh6 days ago
Mar 15, 2026161905 views
Confidence Score1%
1%

Problem

Every time I want to and/or from the terminal (in Linux) I have to enter a password. How do I remove this so that it pulls and/or pushes without the password?

Error Output

push

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I disable password prompts when doing git push/pull?

Low Risk

Run This will store your credentials in a folder inside root. You need to run / after this command and give the username and password for the first time. After this, it will not prompt for username and password. Details at https://git-scm.com/docs/git-credential-store As 0xc0de wrote in a comment, this will store the password unencrypted!

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment