Cannot push Git to remote repository with http/https

后端 未结 8 2047
借酒劲吻你
借酒劲吻你 2020-11-27 15:44

I have a Git repository in a directory served by apache on a server. I have configured WebDAV and it seems to be running correctly. Litmus returns 100% success.

I ca

相关标签:
8条回答
  • 2020-11-27 16:38

    I've got the same problem, and found the solutions, maybe it will be useful for someone.
    Here is my solution with git-http-backend configuration and ldap authentication.

    0 讨论(0)
  • 2020-11-27 16:38

    I had the same issue on Windows where my credentials are stored in windows credential manager. I did not want every user to have to edit the config file so I changed the url from http://example.com to http://git@example.com and it work even though my id is not git. I don't think a user "git" is defined anywhere and assume any name will work. (If you are not on a private network make sure you use https).

    0 讨论(0)
提交回复
热议问题