简体   繁体   中英

git svn dcommit: Chokes on .DS_Store

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?

You can use an interactive rebase in stead of an amend and edit an earlier commit.

More info on the process:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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