New answers tagged github
As for workaround, if you trust the host try specifying --no-check-certificate or add: check_certificate = off into your ~/.wgetrc (not recommended). In some rare cases, it's caused by your system time which could be out-of-sync therefore invalidating the certificates which was working before.
You need to specify the bash shell in the shebang for this to work: #!/bin/bash When bash runs a script without a shebang or with #!/bin/sh it runs in POSIX mode which has some limitations.
Another option is to use an API token... I use the following on our internal gitLab server snippet: #!/bin/bash myemail="email@example.com" # User API token can be found: "https://git.labs.domain.com/profile/account" git_api_token="m3iP27Jh8KSgNmWAksYp" # We'll use the HTTPS to push a ssh key to git, SSH for pull/push configuration ...
Top 50 recent answers are included