Is there a way to make git remember the password for WebDAV remotes?

前端 未结 3 1283
长情又很酷
长情又很酷 2020-12-12 21:31

I\'m working with Git pushing changes to a repository shared over HTTP / WebDAV, and Git prompts for a password for every operation that accesses the HTTP remote. Is there a

3条回答
  •  伪装坚强ぢ
    2020-12-12 22:30

    Why can't you just use password in remote url?

    $ git config remote.origin.url = http://username:password@origin_link.com/repository.git
    

提交回复
热议问题