Skip to content

Instantly share code, notes, and snippets.

View jocatalin's full-sized avatar

Catalin Jora jocatalin

View GitHub Profile
@jocatalin
jocatalin / signed-commits.sh
Last active April 2, 2020 06:56
enable signed git commits for a repository
#!/bin/bash
echo "Add to local git repository sign commits capabilities"
# Add it at the root level of your git repositoes, and call the script inside a git repo
# E.g.: cd my_git_repo
# ..path_to../signed-commits.h
echo "======================================================"
echo "Curent git repo local settings:"
echo "------------------------------------------------------"
git config --local --list
# Apply git repo settings for signed commits

Keybase proof

I hereby claim:

  • I am jocatalin on github.
  • I am jocatalin (https://keybase.io/jocatalin) on keybase.
  • I have a public key ASD1Epl3f_Ea0Vvy8hyh9jfTpfnopDdKnXVLvQxpqnTlLAo

To claim this, I am signing this object: