Git error: conq: repository does not exist

In my case, the git repository was duplicated somehow in the config file: cat .git/config gave me: [remote “origin”] url = [email protected]:myUserName/myRepositoryName.git/myRepositoryName.git fetch = +refs/heads/*:refs/remotes/origin/* As you can see, myRepositoryName is duplicated, so I removed that, and now the config file looks like this: [remote “origin”] url = [email protected]:myUserName/myRepositoryName.git fetch = +refs/heads/*:refs/remotes/origin/* Doing this, my …

Read more

Error – “There is no script engine for file extension .vbs” when using “Git Bash Here” in Windows 7

The problem is caused by associating .vbs files with a program other than Microsoft Windows Based Script Host (the default). In my case, I had associated the files with Notepad++. I was able to solve it by running Notepad++ as an administrator and removing the file association for .vbs files. If you’re not sure which …

Read more

pushing to git remote branch

As Abizern says, this works: git push origin mybranch But, to explain further, the mybranch part is a refspec. This specifies the remote ref which should be updated with the given local commit. So, the command above is equivalent to: git push origin mybranch:mybranch or even: git push origin mybranch:refs/heads/mybranch and, indeed, since you’re on …

Read more