Reinitialize repository