Git development
 help / color / mirror / Atom feed
* Feature request: update password in remote URL
@ 2026-10-22  9:52 Ján Waclawek
  2026-10-22 21:19 ` brian m. carlson
  0 siblings, 1 reply; 2+ messages in thread
From: Ján Waclawek @ 2026-10-22  9:52 UTC (permalink / raw)
  To: git

It would be useful to have a Git command that replaces only the
password embedded in a remote URL, preserving the username, hostname,
path, and other URL components.

For example:

git remote set-password origin NEW_PASSWORD

Security policies on various git servers stipulate to change password
relatively often. Currently, if a password expires or changes, users
must reconstruct the remote URL with the new password or use a script
to modify it. A dedicated command would make this operation simpler
and less error-prone.

The command should replace only the password component and preserve
all other parts of the URL unchanged.

I am aware of existence of credential managers, but sometimes they are
just too much. I also understand that storing passwords in remote URLs
has security drawbacks, but this feature would help users who already
use the embedded credentials, work with servers that require URL-based
credentials and understand those drawbacks.

Jan Waclawek

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-22 21:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-22  9:52 Feature request: update password in remote URL Ján Waclawek
2026-10-22 21:19 ` brian m. carlson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox