git error: gpg failed to sign the data

设置后重新commit/push,但隔一段可能会失效,需要重新设置

export GPG_TTY=$(tty)

 

参考:

https://github.com/keybase/keybase-issues/issues/2798

 

posted @ 2024-12-22 17:01  _Q  阅读(5)  评论(0编辑  收藏  举报