简体   繁体   English

git svn dcommit:.DS_Store上的阻塞

[英]git svn dcommit: Chokes on .DS_Store

Yes, I know I should have had .DS_Store in my .gitignore!! 是的,我知道我应该在.gitignore中拥有.DS_Store! I messed up :( 我搞砸了 :(

I wasn't paying attention and .DS_Store crept in... But now, for whatever reason, I get the following when doing a dcommit: 我没有注意,.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

Anyone understand why this is happening and how I can resolve it? 任何人都知道为什么会发生这种情况以及如何解决?

You can use an interactive rebase in stead of an amend and edit an earlier commit. 您可以使用交互式变基来代替amend并编辑较早的提交。

More info on the process: 有关该过程的更多信息:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM