繁体   English   中英

git lfs凭证检查命令

[英]git lfs credential check command

  • 我们公司有一项政策强制我们每三个月更改一次密码。 所以git lfs操作每三个月就会断掉一次。
  • The problem is that git alone uses the default built windows credential mechanism so git pull can survive such password-change and only at the very end of git pull process the git lfs operation kicks in and then fail, leaving my huge git repo in a messy阶段,有数百个已更改或未跟踪的文件。

那么,在git pull之前我可以使用任何简单的 git lfs 命令来检查/验证吗? 我试过git lfs pull但那个不要求提供凭据。

我们公司有一项政策强制我们每三个月更改一次密码。 所以git lfs操作每三个月就会断掉一次。

它不应该被破坏,因为 Git 凭据应该使用 PAT(请参阅“ 为命令行创建个人访问令牌”),而不是 Windows 密码。

这样,Windows 密码会不断变化,但您的 PAT 保持不变(并且可以随时撤销/替换)。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM