local commit before code swap