git : review设置出现的问题: fatal: invalid refspec 'HEAD:/refs/for/dev

在.git/config里值设置review信息:

但是手动设置时出现错误,将refs/for/dev写成了/refs/for/dev,多带了一个/,导致git一直出错

错误配置如下:

 出现如下错误提示:

[user@build00 miconnect]$ git push review
fatal: invalid refspec 'HEAD:/refs/for/dev
[remote "review"]
	url = ssh://user@git.***.com:29418/***/***/***/platform/android/framework/***
	fetch = +refs/heads/*:refs/remotes/idb/*
	fetch = +refs/notes/review:refs/notes/review
	push = HEAD:refs/for/dev

 

你可能感兴趣的:(Centos,Jenkins安装)