Skip to content

Instantly share code, notes, and snippets.

@ismaild
Created September 3, 2013 12:38
Show Gist options
  • Save ismaild/6423368 to your computer and use it in GitHub Desktop.
Save ismaild/6423368 to your computer and use it in GitHub Desktop.
stange error trying to push to github
GIT_CURL_VERBOSE=1 GIT_TRACE=1 git push origin source
trace: built-in: git 'push' 'origin' 'source'
trace: run_command: 'ssh' 'git@github.com' 'git-receive-pack '\''ismaild/ismaild.github.io.git'\'''
ERROR: Permission to ismaild/ismaild.github.io.git denied to codiez/codiez.github.io.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
------
cat config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = false
[remote "origin"]
url = git@github.com:ismaild/ismaild.github.io.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "source"]
remote = origin
merge = refs/heads/source
------
git remote -v
origin git@github.com:ismaild/ismaild.github.io.git (fetch)
origin git@github.com:ismaild/ismaild.github.io.git (push)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment