Skip to content

git push issue #33

@tianqifeiyang

Description

@tianqifeiyang

sky@sky-VirtualBox:~/work/share/githubTest$ git status
On branch master
Your branch is ahead of 'origin/master' by 2 commits.
(use "git push" to publish your local commits)

nothing to commit, working tree clean
sky@sky-VirtualBox:/work/share/githubTest$ git pull
Already up to date.
sky@sky-VirtualBox:
/work/share/githubTest$ git push
ERROR: Permission to yychuyu/githubTest.git denied to tianqifeiyang.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

我用git push就报这个错误,从网上搜到的解决办法关于设置SSH的,基本都是说是因为有两个账号,一个SSH秘钥不能确定是谁访问。但是我只有一个账号,我也还是按照他们的办法重新添加了SSH,但也还是不行。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions