I am attempting to follow some steps to contribute to a repository on GitHub and one of the steps is not working. The steps are here: https://github.com/wdbm/qTox/blob/master/CO
I had a similar problem, however git fetch
didn't solve my problem. Also, in my case I found that git config --get remote.origin.fetch
didn't return anything while it is suppose to
My problem was that there was a typo in the .git/config
file in the fetch line of the respective remote block (probably something I added by mistake previously). So, check if your remote entry in the .git/config file
is correct, e.g.:
[remote "origin"]
url = https://[server]/[user or organization]/[repo].git
fetch = +refs/heads/*:refs/remotes/origin/*
You can also directly remove and re-add the remote entry