change bare repo skipping code back to what worked