连接github时connection reset的问题

git连接时遇到问题 1ssh -T git@github.com 2Connection reset by 140.82.113.3 port 22 解决方案 在所生成ssh秘钥文件夹下(~/.ssh/)使用文本文档新建 config文件(无后缀)。 修改代

git push:本地分支和远程分支冲突问题解决

1 failed to push some refs 报错 1git push -u origin main 2To https://github.com/xxxx.git 3 ! [rejected] main -> main (non-fast-forward) 4error: failed to push some refs to 'https://github.com/xxxx.git' 5hint: Updates were rejected because the tip of your current branch is behind 6hint: its remote counterpart. Integrate the remote changes (e.g. 7hint: 'git pull ...') before pushing again. 8hint: See the 'Note about fast-forwards' in 'git push --help' for