xpt
xpt

Reputation: 23036

git lfs credential check command

So, is there any simple git lfs command I can use prior to git pull, to check/verify? I tried git lfs pull but that one does not ask for credentials.

Upvotes: 1

Views: 3030

Answers (1)

VonC
VonC

Reputation: 1326576

Our company has a policy to force us to change passwords every three months. So git lfs operation will be broken every three months.

It should not be broken, because Git credentials should use PAT (see "Creating a personal access token for the command line"), not Windows passwords.

That way, Windows passwords keep changing, but your PAT remains constant (and can be revoked/replaced at any time).

Upvotes: 1

Related Questions