随笔分类 - git
摘要:push的时候报错 git黑窗口输入就可以了 git config --global http.sslVerify "false"
阅读全文
摘要:如果要把dev分支的代码提交到远程分支git上 //新加的文件要先add才会到commit那去 git add xxx //一定要留意push到哪个分支上 git commit and push 把dev的代码合并到master //1. 先提交dev到dev分支 //切换master分支,然后右键
阅读全文
摘要:在github新建一个仓库 把仓库项目拉到本地 把项目放入里面然后提交代码 //全部都添加git git add . //提交 -m "注释" git commit -m "开发xxx功能" //提交到 -u xxx分支上 git push -u origin master 效果
阅读全文
摘要:解决方式: 在C盘个人用户中找到.gitconfig文件,设置或修改以下内容,然后解决。 [http] sslbackend = openssl 问题解决。
阅读全文
摘要: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
阅读全文
摘要:1.github中创建存放文件夹 2.在本地打开git的黑窗口 git clone 路径 把修改的放进去 git add . git commit -m "描述" git push -u (注:此操作目的是把本地仓库push到github上面)git push -u origin master有分支
阅读全文