Skip to content

Instantly share code, notes, and snippets.

@FoxNeo
Last active March 6, 2024 20:31
Show Gist options
  • Save FoxNeo/27bf0e84b34ebddb2eea31d46eeb03ed to your computer and use it in GitHub Desktop.
Save FoxNeo/27bf0e84b34ebddb2eea31d46eeb03ed to your computer and use it in GitHub Desktop.
Command to sign commit or other configuration

Git commands

show global confg

$ git config --global --list

sign commits local repository

$ git config commit.gpgsign true

sign commits global repository

$ git config --global commit.gpgsign true

Change default editor to nano

$ git config --global core. editor "nano"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment