Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
knowledge_base:sonstiges:git_sign_commit [2023/10/16 11:47] – split ssh and gpg signing from knowledge_base:windows:git_gpg_sign julian.lemmerich | knowledge_base:sonstiges:git_sign_commit [2024/11/02 20:50] (aktuell) – add ssh-agent info julian.lemmerich | ||
---|---|---|---|
Zeile 4: | Zeile 4: | ||
Doesnt work with VScode GUI | Doesnt work with VScode GUI | ||
+ | |||
+ | Benötigt git> | ||
<code bash> | <code bash> | ||
git config --global gpg.format ssh | git config --global gpg.format ssh | ||
- | git config --global user.signingkey ~/.ssh/examplekey | + | git config --global user.signingkey ~/.ssh/id_ed25519 |
+ | git config --global commit.gpgsign true | ||
+ | </ | ||
+ | |||
+ | ==== with ssh-agent ==== | ||
+ | |||
+ | install git for windows with " | ||
+ | |||
+ | < | ||
+ | git config --global user.signingkey " | ||
</ | </ | ||