I was added to a GitLab project as a Maintainer. So when I first pushed to the empty repository, it was successful and was able to push the project to the repo. But when I made changes and tried to push it again, it sent the error access denied.
Then I made a new repo in GitLab and added some other project in it. In empty repo I was able to push, but after that I was not able to push to the repo.
Why is it that I can only push my commits in empty GitLab repository only.
Can anyone tell me why is this happening.
For reference : It was my first time using GitLab. The project manager asked me to make a GitLab account. Then I made one and added a SSH key. I am able to make a new branch in the project on the GitLab Website but not push changes with my local machine.
Thank you