摘要: 如果要把dev分支的代码提交到远程分支git上 //新加的文件要先add才会到commit那去 git add xxx //一定要留意push到哪个分支上 git commit and push 把dev的代码合并到master //1. 先提交dev到dev分支 //切换master分支,然后右键 阅读全文
posted @ 2022-04-29 21:41 创嗨 阅读(2529) 评论(0) 推荐(0) 编辑
摘要: 在github新建一个仓库 把仓库项目拉到本地 把项目放入里面然后提交代码 //全部都添加git git add . //提交 -m "注释" git commit -m "开发xxx功能" //提交到 -u xxx分支上 git push -u origin master 效果 阅读全文
posted @ 2022-04-29 21:24 创嗨 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 解决方式: 在C盘个人用户中找到.gitconfig文件,设置或修改以下内容,然后解决。 [http] sslbackend = openssl 问题解决。 阅读全文
posted @ 2022-04-29 21:08 创嗨 阅读(1601) 评论(0) 推荐(0) 编辑
摘要: fatal: No configured push destination. Either specify the URL from the command-line or configure a remote repository using git remote add and then pus 阅读全文
posted @ 2022-04-29 21:07 创嗨 阅读(811) 评论(0) 推荐(0) 编辑