Reputation: 4353
In Eclipse with Git installed, I can successfully push my project using "Team --> Remote --> Push". However, if I use "Team --> Push to Upstream", the following error showed up:
https://github.com/yltang/myPrepository.git: https://github.com/yltang/myPrepository.git/info/refs?service=git-receive-pack not found
Can anybody suggest some solutions? Thanks.
Upvotes: 1
Views: 267
Reputation: 1328602
That is because https://github.com/yltang/myPrepository doesn't exist.
https://github.com/yltang/myRepository does.
Simply fix the upstream url in the Upstream Configuration and it should work.
it can be displayed and edited in the repository configuration or by clicking Show In > Properties
on a branch in the Repositories View.
Upvotes: 1