reinitialize repo