github - Git - remote: Repository not found -


i have sourcetree local working copy. , operations work good, can simple fetch, push, pull , etc via sourcetree. needed make force push 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 not sure can issue.

because did not identify remote git repository terminal first.

git remote set-url origin https://github.com/myrepo/project.git 

and then,

git add . git commit -m "force push" git push origin master --force 

Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -