Merging repositories after local got deleted