我在Git 2.10发行说明中关于漂亮属性的文章很少.继续将git升级到2.10.0并对全局进行更改,结果如下 -.gitconfig
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[user]
name = xyz
email = abc.def@gmail.com
signingkey = AAAAAAA
[core]
excludesfile = /Users/xyz/.gitignore_global
editor = 'subl' --wait
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
[color "diff"]
old …
Run Code Online (Sandbox Code Playgroud) 我试图释放一个Jar并且gpg-agent没有启动.根据https://www.gnupg.org/documentation/manuals/gnupg-devel/Invoking-GPG_002dAGENT.html,它应该在任何GnuPG程序的调用时自动启动,但在WSL中似乎不是这样.
pupeno@DESKTOP-5N8VFOD:~$ gpg-agent
gpg-agent: no gpg-agent running in this session
Run Code Online (Sandbox Code Playgroud)
有一会儿,我想GnuPG可能不会在WSL中运行,但我设法手动启动:
pupeno@DESKTOP-5N8VFOD:~$ eval $(gpg-agent --daemon)
pupeno@DESKTOP-5N8VFOD:~$ gpg-agent
gpg-agent: gpg-agent running and available
Run Code Online (Sandbox Code Playgroud)
那么,缺少什么?为什么不自动启动?或者我该如何开始呢?