mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 20:59:54 +01:00
akwizgran created page: signed commits
23
signed-commits.md
Normal file
23
signed-commits.md
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
Steps for enabling GPG signed commits in Android Studio:
|
||||||
|
|
||||||
|
* Find the ID of your signing key
|
||||||
|
* Run `gpg -K you@example.com`
|
||||||
|
* Look at the line starting with `sec`
|
||||||
|
* The hex digits after the slash are the key ID, e.g. `ABCD0123`
|
||||||
|
* Add the key ID to your global `.gitconfig`:
|
||||||
|
```
|
||||||
|
[user]
|
||||||
|
name = you
|
||||||
|
email = you@example.com
|
||||||
|
signingkey = ABCD0123
|
||||||
|
```
|
||||||
|
* Add the following lines to your `.gnupg/gpg.conf`:
|
||||||
|
```
|
||||||
|
use-agent
|
||||||
|
no-tty
|
||||||
|
```
|
||||||
|
* Enable signed commits in the project's `.git/config`:
|
||||||
|
```
|
||||||
|
[commit]
|
||||||
|
gpgsign = true
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user