clear branch resource