git
cry1049208942
这个作者很懒,什么都没留下…
展开
-
git tag标签使用
【代码】git tag标签使用。原创 2024-03-18 19:54:42 · 454 阅读 · 0 评论 -
The remote end hung up unexpectedly The remote end hung up unexpectedly RPC failed;
代码推送失败The remote end hung up unexpectedly The remote end hung up unexpectedly RPC failed; result=22, HTTP code = 400解决办法:在.git/config文件加上下面两行[http]postBuffer = 524288000原创 2022-02-10 16:44:51 · 1643 阅读 · 0 评论 -
SSL certificate problem: certificate has expired
克隆代码报错fatal: unable to access 'https://test.com:8234/test/test.git/': SSL certificate problem: certificate has expired解决办法:执行以下命令行git config --global http.sslVerify false重新执行git clone命令,成功拉取代码...原创 2022-01-25 17:55:38 · 1796 阅读 · 0 评论 -
gitbook安装使用
1.先安装gitbook插件cnpm install gitbook-cli -g2.进到任意文件夹下,执行下面命令gitbook init3.启动gitbook serve4.打开浏览器查看原创 2020-04-24 19:01:52 · 264 阅读 · 0 评论 -
git新建附注标签
创建一个标签名为v1.0.0的taggit tag -a v1.0.0 -m "v1.0.0"git checkout v1.0.0git push origin v1.0.0原创 2020-04-18 09:12:46 · 226 阅读 · 0 评论 -
github新创建分支
创建名为release-1.0.0的分支进到项目路径下面D:\workPath\IdeaProjects\test,右键打开Git Bash Heregit checkout -b release-1.0.0git push origin release-1.0.0原创 2020-04-18 08:46:58 · 109 阅读 · 0 评论 -
git将某一个文件还原到指定版本
1.查看版本git log D:\workPath\IdeaProjects\apis\console\gateway-admin\src\main\resources\application-dev.properties2.覆盖本地文件git checkout c03387c636517399b320f62320520d170a69e923 D:\workPath\IdeaP...原创 2020-01-17 10:23:20 · 4664 阅读 · 0 评论 -
如何将项目上传到github上面
1、登录到github网站https://github.com/2.创建repository可以不勾选Initialize this repository with a README,自己新建一个README.md文件上传也可以3.将本地项目上传到github上面3.1进到mySpringMVC目录下面3.2创建.gitignore文件,内容如下3.3鼠标...原创 2019-03-26 19:55:52 · 176 阅读 · 0 评论 -
git代码比较,没有差异却显示出来
Eclipse中代码与远程仓库比较,没有差异的文件却列出来了。解决办法:Window->Preferences->Git->Configuration把autocrlf的值设置为true原创 2019-04-26 11:32:23 · 8753 阅读 · 1 评论 -
hint: Updates were rejected because the remote contains work that you do
push失败:解决办法:git pull origin mastergit push -u origin master原创 2020-01-17 10:13:55 · 3020 阅读 · 0 评论