windows - Android Studio and Git - How do I GPG-sign my commits? -


according this link, need include -s switch sign commit using gpg key, don't see how can use in android studio.

how sign commits in android studio?

edit: appreciate osx solutions coming along, i'd see answer works windows. i use mac documents , stuff.

after make test follow steps , works please remember restart android studio after follow steps:

are tired off write password each commit???

nano ~/.gnupg/gpg.conf

add following lines

use-agent no-tty default-key <your key id> 
  • after made configuration , if use macos. should:

ln -s /usr/local/cellar/libgcrypt/1.7.0_1 /usr/local/opt/libgcrypt

ln -s /usr/local/cellar/libgpg-error/1.22 /usr/local/opt/libgpg-error

ln -s /usr/local/cellar/libassuan/2.4.2 /usr/local/opt/libassuan

ln -s /usr/local/cellar/pth/2.0.7 /usr/local/opt/pth

  • execute

source ~/.profile

  • make 1 commit using option -s

git commit -am "my commit message" -s

  • you should password promp. -- put password

thats it!!!


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -