git熟悉

上传主要代码:

git init
git add . 
git commit -m "first commit"
git remote add origin 地址
git push -u origin master(第一次提交)
git push  origin master(修改提交)

SSL报错  unable to get local issuer certificate 解决:

git config --global http.sslverify false

 

branch 'master' set up to track 'origin/master'.解决:

1、移除
git remote rm origin
2、再次连接
git remote add origin ‘仓库地址’

 

posted @ 2023-04-21 22:57  阿飞藏泪  阅读(11)  评论(0编辑  收藏  举报
1 2 3
4