是的,我知道我的.gitignore中应该有.DS_Store!!我搞砸了:(
我没注意到.DS_Store就悄悄进来了。但是现在,无论出于什么原因,我在执行dcommit时都会得到以下结果:
% git svn dcommit
Committing to http://[...]/trunk ...
A public/images/jquery-ui/smoothness/.DS_Store
URL access forbidden for unknown reason: access to '/svn/softeng/!svn/wrk/d346c9aa-810d-4ef6-8852-65b5d36ecc06/tools/escalate/trunk/public/images/jquery-ui/smoothness/.DS_Store' forbidden at /opt/local/libexec/git-core/git-svn line 579有谁知道为什么会发生这种情况,以及我如何解决它?
发布于 2011-10-11 22:08:17
您可以使用interactive rebase代替amend,并编辑较早的提交。
有关该过程的更多信息:
https://stackoverflow.com/questions/7727332
复制相似问题