1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-24 05:36:19 +02:00
lazygit/test/repos/gpg.sh

16 lines
296 B
Bash
Raw Normal View History

2018-08-14 18:11:47 +10:00
#!/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
git config credential.helper store
git config credential.helper cache 1
2018-08-14 18:11:47 +10:00
touch foo
git add foo
touch bar
git add bar