[英]Can't pull and push to Git
I'm working on a group project that I have been pulling and pushing to everyday.我正在做一个我每天都在推动和推动的小组项目。 I tried to pull now but I get this message
Your repository has no remotes configured to pull from.
我现在尝试拉,但收到此消息
Your repository has no remotes configured to pull from.
When I write git remote -v
in the terminal I get this当我在终端中写
git remote -v
时,我得到了这个
origin https://github.com/Elmassri/SE-Project.git (fetch)
origin https://github.com/Elmassri/SE-Project.git (push)
So I have no idea what the issue is and how to fix it.所以我不知道问题是什么以及如何解决它。
I don't know if this is relevant but git status
is giving me this我不知道这是否相关,但
git status
给了我这个
error: object file .git/objects/b6/8df11599b94d5dad001ac7bfff4b5cb07eb30b is empty
error: object file .git/objects/b6/8df11599b94d5dad001ac7bfff4b5cb07eb30b is empty
error: object file .git/objects/b6/8df11599b94d5dad001ac7bfff4b5cb07eb30b is empty
fatal: loose object b68df11599b94d5dad001ac7bfff4b5cb07eb30b (stored in .git/objects/b6/8df11599b94d5dad001ac7bfff4b5cb07eb30b) is corrupt
Try to clone the remote repository尝试克隆远程存储库
git clone https://github.com/Elmassri/SE-Project.git
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.