gitsvndcommit

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?


Solution

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

    More info on the process: