前言 今天在提代码时,发现push不到gerrit仓库了,十分的奇怪,和同事沟通后发现,同事可以直接git push origin master而且也可以合并,都是没有问题的,但是就是在gerrit上无法查看,在网上查找资料后找到如下的解决方案 fatal: One or more refs/for/ names blocks change upload fatal: The remote end hung up unexpectedly 解决方法 1> 登录git仓库服务器 2> 进入到有问…
One or more refs/for/ names blocks change upload 原因 这是错误的原因是底层的git仓库有一些不正确的引用,通常是有些开发者使用过程中,直接推送到git仓库当中. 解决方案 登陆gerrit服务器,进入git仓库,执行以下命令,查看虚拟分支: git for-each-ref refs/for/ 执行以下命令,删除该虚拟分支 git update-ref -d refs/for/bad-name .ds-share{ 大专栏  gerrit Q&A…
1.You observe that a database performance has degraded overa period of time. While investigating the reason, you find the size ofthe database buffer cache is not large enough to cache all the needed datablocks. Which advisory component wold you refer…
End-to-End Tracing of Ajax/Java Applications Using DTrace         By Amit Hurvitz, July 2007     Ajax, DTrace and Where They Meet Ajax is an emerging technology, which got a significant boost with the rise of applications like Google Maps. Ajax is in…
Automake是用来根据Makefile.am生成Makefile.in的工具 标准Makefile目标 'make all' Build programs, libraries, documentation, etc. (same as 'make'). 'make install' Install what needs to be installed, copying the files from the package's tree to system-wide directories.…
git 不能创建分支,如下 fatal: cannot lock ref 'refs/heads/hotfix/aa': 'refs/heads/hotfix' exists; cannot create 'refs/heads/hotfix/aa' 原因是hotfix是个分支,对应.git/refs/heads 中的是文件,不是文件夹. git 把分支信息存放在 .git/refs/heads 目录中,每个分支是一个文件. 如果你打开这个目录看一下就会发现,你的 sss 分支是一个名叫 sss…
在HTK训练线上数据的时候,遇到了ERROR [+6550] LoadHTKLabels: Junk at end of HTK transcription,这个问题,网上查阅是说有空行,结果根本没有空行,最后查找可知,是标注文件lab里面有空格,转成lab.mlf文件后,空格单独成一行,所以造成了这个小困扰. 定位问题之后,就很好解决了: sed -i 's/\s//g' *char.mlf sed -i '/^$/d' *char.mlf 以下是网上找的错误消息的意义,以供后续参考. UND…
概述 简单描述以下, git branch 讲解的目的, 只是方便新手入门, 基本都是最简单的操作 所以东西可能不全 一是 我不理解 二是 有的东西出现, 可能会让新手产生误解 准备 os win10 git 2.20.1.windows.1 工程 一个 git 项目的工程 即可 1. 分支 概述 简单介绍分支 分支 概述 一种方法 一个代码版本 方法 软件开发的基本方法 从 主线 分离出来的一条 独立的开发先 特性 隔离 分支可以让主线不受到干扰 分支也可以保存一个相对稳定的版本, 方便继续修…
from:http://blog.tallan.com/2012/07/18/creating-a-sharepoint-bcs-net-assembly-connector-to-crawl-rss-data-in-visual-studio-2010/ Overview In this post, I'll walk you though how to create a SharePoint 2010  BCS .NET Connectivity Assembly in Visual Stu…
(注意: 只记录工作中实际使用的命令) 同步android源码    repo sync:(可加-c,只取当前分支: 可加-j4,线程数量) 查看android源码下所有项目的git状态    repo forall -c "pwd;git status": 同步代码前覆盖本体没有提交的代码     repo forall -c "git checkout . ": 将提交推送到gerrit服务器评审:   git push origin local_branch:…