0

是的,我知道我的 .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

任何人都明白为什么会发生这种情况以及我该如何解决它?

4

1 回答 1

1

您可以使用交互式 rebase代替amend并编辑较早的提交。

有关该过程的更多信息:

于 2011-10-11T14:08:17.063 回答