I wrote in git Bash this
git remote -v
origin git://github.com/devRena/test (fetch)
origin git://github.com/devRena/test (push)
and when i say
git push origin master
fatal remote error:
You can't push to git://github.com/devRena/test.git
Use https://github.com/devRena/test.git
How to change git://github.com/devRena/test.git to https://github.com/devRena/test.git ??
GIT REMOTE add just creates an entry in your git configuring that specifies a name for a particular URL. You must have an existing git report to use this. GIT CLONE creates a new git repository by copying an existing one located at the URL you specify.
You can simply edit by hand the .git/config file.
Find the section that starts with:
[remote "origin"]
Replace:
url = https://github.com/USERNAME/REPOSITORY.git
with
url https://github.com/devRena/test.git
save
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With