(GitHub推送)更新被拒绝,因为当前分支的提示已过期

(GitHub推送)更新被拒绝,因为当前分支的提示已过期,github,version-control,Github,Version Control,我正试图推送到一个存储库,不幸的是,它在我的文本编辑器中与我的客户端终端断开了连接 出现的错误是: ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'https://github.com/jboyle1/milestoneproject-004.git' hint: Updates were rejected because the tip of your

我正试图推送到一个存储库,不幸的是,它在我的文本编辑器中与我的客户端终端断开了连接

出现的错误是:

! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/jboyle1/milestoneproject-004.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
因此,我尝试:

git pull repo_name
但它说:

remote: Repository not found.

这可能是一个简单的修复,但我正在努力。

它应该是简单的
git-pull
(或者
git-pull-origin-master


检查
git remote-v
的输出,并查看“
origin
”是否引用了远程存储库URL。

它应该是简单的
git pull
(或
git pull origin master


检查
git remote-v
的输出,查看“
origin
”是否引用了远程存储库URL。

@JEDBOYLE然后您可以使用
git remote set URL origin更改origin URLhttps://github.com//
@JEDBOYLE然后您可以使用
git remote set URL origin更改源URLhttps://github.com//