git add . //添加全部
git commit -m "update" //提交 提示语
git push //推送
git push -u orgin "master" //推送指定分支
git reset --soft HEAD^ //撤销上次提交
push an existing repository from the command line
git remote add origin https://github.com/kuilaurence/xxx.git
git branch -M main
git push -u origin main
tip:sourcetree 生成密钥选择 ecdsa 加密