写了一天代码,提交时报错。拉取也不行 Can't Update No tracked branch configured for branch master or the branch doesn't exist. To make your branch track a remote branch ...
分类:
其他好文 时间:
2020-03-27 21:46:09
阅读次数:
716
好久没有提交code了,主要最近一直在测试,今天把分支的代码merge一下,提交了一版code, 结果Gerrit来了个这么个问题,搞了大半天终于解决了,为了避免下次再遇到所以记录下。现象是这个样子的: 一. 错误现象 如图:Gerrit 扔了一个 ! [remote rejected] HEAD ...
分类:
其他好文 时间:
2020-03-27 18:27:13
阅读次数:
116
答: 改变仓库的地址(<source code dir>/.git/config中的[remote "origin"]),如: .git/config中的[remote "origin"]如下: [remote "origin"] url= git://git.kernel.org/pub/scm/ ...
分类:
其他好文 时间:
2020-03-27 16:53:52
阅读次数:
166
git:分布式版本控制软件 常见命令: git add:将本地文件增加到暂存区 git commit:将 暂存区 的内容提交到 本地仓库(本地分支,默认master分支) git push:将 本地仓库 的内容推送到 远程仓库(远程分支) git pull:将 远程仓库(远程分支) 的内容拉取到 本 ...
分类:
其他好文 时间:
2020-03-27 00:40:26
阅读次数:
75
In this lesson we will see how to measure the used JS heap size in chrome. This can be used for various needs from performance debugging to production ...
分类:
Web程序 时间:
2020-03-26 19:50:09
阅读次数:
102
同Tomcat一样,jetty也是免安装的。只需要将下载好的jetty.zip解压至指定目录后,jetty就可以使用了。首先,WIN+R运行->>cmd,进入DOS界面。
进入jetty目录,执行:java -jar start.jar。
然后将打包好的war包放入D:\java\jetty-9.4.27\webapps项目就会自动部署。
适用场景: 新建的项目,需要将本地项目与远程仓库关联起来操作如下: 1. git init //初始化项目2. git remote add 远程地址 //设置remote地址3. git add . //将全部文件添加到git暂存区里面,‘.’点的意思是文件夹下所有文件,如果只想添加一个用@文件名 ...
分类:
Web程序 时间:
2020-03-25 19:29:40
阅读次数:
75
Remove the history from recreate the repos from the current content only push to the github remote repos ensuring you overwrite history 来源: https://gi ...
分类:
其他好文 时间:
2020-03-25 18:47:35
阅读次数:
415
1、map local用法:https://www.jianshu.com/p/a1e21264ef42 2、map remote用法: 重定向:https://www.cnblogs.com/guxin/p/frontend-development-charles-proxy-setting-ex ...
分类:
其他好文 时间:
2020-03-25 13:49:32
阅读次数:
109
git remote add origin https://xxxxxx #添加远程仓库 git fetch origin master #将远程仓库的最新的内容拉取到本地 然后出现了如下问题: 思路: 进入到本地仓库目录下的.git 文件夹下,打开 config 文件发现原来我的 远程仓库的URL ...
分类:
Web程序 时间:
2020-03-25 09:12:23
阅读次数:
86