Git 命令

 
下载:https://git-scm.com/downloads
步骤:
1.配置信息:
git config --global user.name <用户名>
git config --global user.email <邮箱地址>
 
2. 克隆仓库:
 
3. 修改内容,提交:
git add .
git commit -m '初始化'
git push origin master ##提交到远程master分支
 
常见问题:
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
这是因为服务器的SSL证书没有经过第三方机构的签署,所以才报错
解决办法:
git config --global http.sslVerify "false"
 
 
posted @   dvkc  阅读(21)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
点击右上角即可分享
微信分享提示