rm refs to local/repo - not cut&past friendly