Restore commit selection