removing ref from repo