带有 git 子模块的密码存储

Har*_*ers 5 git macos gnupg pgp git-submodules

传递中的 Git 子模块对于使用不同的密码集非常有效。我唯一的问题是我无法git submodule通过 发出命令pass

例如,

pass git submodule foreach git pull 
Run Code Online (Sandbox Code Playgroud)

返回:

致命:如果没有工作树,则无法使用 /usr/local/Cellar/git/2.6.4/libexec/git-core/git-submodule 。

Har*_*ers 2

作为解决方法,在 内~/.password-storegit submodule命令按预期工作