git push gives fatal: unable to update url base from redirection:
git, gitlab
Solution
The URL you try to push to is not correct. You are trying to push to the URL `https://gitlab.com/priceinsight/jmt4manager/compare/develop...2-retrieve-list-userrecord#` which is a webpage that compares two branches and not the URL of a repository. The repository would be `https://gitlab.com/priceinsight/jmt4manager`.
Problem
I did commit successfully in my local repository. When I try to do: ``` git push https://gitlab.com/priceinsight/jmt4manager/compare/develop...2-retrieve-list-userrecord# 2-retrieve-list-userrecord -v ``` I got this error: ``` Pushing to https://gitlab.com/priceinsight/jmt4manager/compare/develop...2-retrieve-list-userrecord# fatal: unable to update url base from redirection: asked for: https://gitlab.com/priceinsight/jmt4manager/compare/develop...2-retrieve-list-userrecord#/info/refs?service=git-receive-pack redirect: https://gitlab.com/users/sign_in ```