Closed Ghostavio closed 8 years ago
I think you posted this to the wrong repository.
not really, I started getting this after following all the instructions here.
Post your rc and gitconfig file contents here please.
here are my rc files: https://github.com/Ghostavio/dotfiles/tree/master/zsh and here is my gitconfig file:
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
name = Gustavo Siqueira
email = gustavo.anacleto@gmail.com
signingkey = [my eight digits key]
[alias]
lg = log --graph --pretty=format:\"%C(blue)%h %Creset- %C(green)(%cr) %Creset%s - %C(cyan)%an %C(magenta)%d\" --date=short
[push]
default = current
[commit]
gpgsign = true
I've only added this to my .zprofile
file:
# Paste these lines:
if test -f ~/.gnupg/.gpg-agent-info -a -n "$(pgrep gpg-agent)"; then
source ~/.gnupg/.gpg-agent-info
export GPG_AGENT_INFO
else
eval $(gpg-agent --daemon --write-env-file ~/.gnupg/.gpg-agent-info)
fi
This is happening when you call a git command in a folder which is not under source control. I really can't imagine that this is related to this document.
Please ask on Stack Overflow.
Every time I open a new tab on the terminal I'm getting this.