mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 20:36:03 +02:00
add gpg repo generator
This commit is contained in:
parent
5f30f07ea5
commit
88af0fb1b6
1 changed files with 14 additions and 0 deletions
14
test/repos/gpg.sh
Executable file
14
test/repos/gpg.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
set -ex; rm -rf repo; mkdir repo; cd repo
|
||||
|
||||
git init
|
||||
|
||||
git config gpg.program $(which gpg)
|
||||
git config user.signingkey E304229F # test key
|
||||
git config commit.gpgsign true
|
||||
|
||||
touch foo
|
||||
git add foo
|
||||
|
||||
touch bar
|
||||
git add bar
|
Loading…
Add table
Add a link
Reference in a new issue