git config remote.origin.receivepack /bin/false
git config http.postBuffer *bytes*
git add --patch
git checkout B file
git update-ref -d HEAD