对于git命令,"plumbing"和"porcelain"命令之间存在区别.如何确定哪些将被分类为管道或瓷器?即允许我区分的边界线是什么?
我不是在问瓷器或管道命令是什么,而是如何根据命令我可以说它是哪种类型.
我试过按照这些说明操作:https://stackoverflow.com/a/40312117/21728基本上这样做:
sudo apt-get install libsecret-1-0 libsecret-1-dev
cd /usr/share/doc/git/contrib/credential/libsecret
sudo make
git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
Run Code Online (Sandbox Code Playgroud)
但是当我进行任何网络操作时,我收到此错误:
** (process:7902): CRITICAL **: could not connect to Secret Service: Cannot autolaunch D-Bus without X11 $DISPLAY
Run Code Online (Sandbox Code Playgroud)
这是合乎逻辑的,因为确实没有X11显示器.
如何在Windows(WSL)上的Ubuntu上使Git凭据缓存工作?