git熟悉

发布时间 2023-04-21 23:03:29作者: 阿飞藏泪

上传主要代码:

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 ‘仓库地址’