git 远程分支放宽权限
远程分支设置:
git config --bool core.bare true
本地config文件添加:
??? push? = +refs/heads/*:refs/heads/*
??? push? = +refs/tags/*:refs/tags/*
?
这样就可以直接同步所有分支了。
?
如果不知道什么意思请慎用!
发布时间: 2012-06-28 15:20:04 作者: rapoo
git 远程分支放宽权限
远程分支设置:
git config --bool core.bare true
本地config文件添加:
??? push? = +refs/heads/*:refs/heads/*
??? push? = +refs/tags/*:refs/tags/*
?
这样就可以直接同步所有分支了。
?
如果不知道什么意思请慎用!