Replacing overwritten repository