how can I remove empty directories in git-svn? -


i have specific problem did not found solution here or anywhere else. have svn repository , using git-svn access , work on it.

some time ago, there empty directories in svn repository (empty, subfolders). git not track those. deleted them svn repository. still have them after running

git svn rebase 

and when delete them hand, recreated during next

git svn rebase 

how can rid of them?

i checked using pure svn , not in repository.

it bit rough, have found following solves problem:

rm .git/svn/refs/remotes/trunk/unhandled.log git clean -df 

any subsequent

git svn rebase 

will not recreate anything.

since don't know how regenerate file without re-cloning repo, suggest making backup of first. text file, suppose edit content remove entries end creating


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -