git svn dcommit:.DS_Store 上的阻塞
是的,我知道我应该在我的 .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
任何人都明白为什么会发生这种情况以及我如何解决它?
Yes, I know I should have had .DS_Store in my .gitignore!! 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:
% 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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用交互式变基来代替
修改
并且编辑较早的提交。有关该过程的更多信息:
You can use an interactive rebase in stead of an
amend
and edit an earlier commit.More info on the process: