Kill and restart gpg agent (Fish Shell) pkill gpg-agent ; gpg-agent --daemon Sign previous commit git commit -S --amend