Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in DevOps and Agile by (19.4k points)

I have SourceTree with local working copy. And all operations work good, I can simple fetch, push, pull and etc via SourceTree. I just needed to make force push which does not exist in SourceTree.

I opened terminal made git push -f

remote: Repository not found.

fatal: repository 'https://github.com/MyRepo/project.git/' not found

I am not sure what can be an issue.

1 Answer

0 votes
by (27.5k points)

Removing all github.com credential details from the system would be the simplest way of fixing this issue. 

For Mac:

Delete the github.com password from the Keychain Access.

For Windows:

Delete the credentials from Credential Manager.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...