I created a repo in gitlab and set the user.name in a global way.
When I try to push my project, after inserting my password, I get the following error:
fatal: 'user/test.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
My .git/config:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = [email protected]:user/test.git
fetch = +refs/heads/*:refs/remotes/origin/*
output from "git remote -v:
origin [email protected]:user/test.git (fetch)
origin [email protected]:user/test.git (push)
What could be the problem?