GnuTLS recv error (-110): The TLS connection was non-properly terminated
# git push -u origin main
output
t@raspberrypi:/home/homeassistant# git push -u origin main
fatal: unable to access 'https://github.com/name/HomeAssistantConfig.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.
reason
network problem
Solution 1
try again
sudo git push -u origin main
branch 'main' set up to track 'origin/main'.
Everything up-to-date
Git Push: Origin And Main Branch Explained
https://sysadminsage.com/git-push-origin-main/
远程分支与本地分支有不同的提交历史
https://geek-docs.com/git/git-questions/720_git_git_says_everythinguptodate_when_pushing_changes_to_a_remote_branch.html
git fatal: confused by unstable object source data for 5b66bf66d63a3990bdea9cdb3c530f4e5ffeabcf
use find command with -exec parameter and try to add each file separately instead of adding everything at once
find . -name '*' -exec git add {} \;
output
The following paths are ignored by one of your .gitignore files:
homeassistant/www/community
hint: Use -f if you really want to add them.
hint: Turn this message off by running
hint: "git config advice.addIgnoredFile false"
git error:fatal: unable to access 'https://github.com/docker-project.git/': OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0
reason
网络问题