Reputation:
I've been trying to make a commit with my progress using a Terminal. I am relatively new to all that stuff around Git, but following a step-by-step tutorial on GitLab I initialised a Git Repository, added my files to the staging area. From now on all I can see is that (See picture).
I even updated Git on my Mac. Initially, I was using Git that comes preinstalled on every Mac in Terminal. I want to avoid using a graphical programs.
Upvotes: 2
Views: 1344
Reputation: 165218
You have config.gpgsign
set. This means Git will try to cryptographically sign every commit you make with Gnu Privacy Guard which you don't appear to have installed.
This is not necessary to use Git except in certain special circumstances, so it's probably best to turn it off for now.
You can find out where it's set with git config --show-origin commit.gpgsign
. You should see something like this.
$ git config --show-origin commit.gpgsign
file:/Users/schwern/.gitconfig true
If it's in your own global .gitconfig
like above, turn it off.
$ git config --global commit.gpgsign false
If it's in the project itself, contact the project and ask if they really require every commit to be signed. If they do, you can install GnuPG on a Mac with GPG Suite and follow their instructions.
Upvotes: 3