If your git process gets stuck during the gpg signing phase, you can restart gpg by running
gpgconf --kill gpg-agent| #![allow(unused)] // silence unused warnings while exploring (to comment out) | |
| use std::{error::Error, time::Duration}; | |
| use tokio::time::sleep; | |
| use redis::{ | |
| from_redis_value, | |
| streams::{StreamRangeReply, StreamReadOptions, StreamReadReply}, | |
| AsyncCommands, Client, | |
| }; |
If your git process gets stuck during the gpg signing phase, you can restart gpg by running
gpgconf --kill gpg-agent