$ git clone -n https://gitee.com/wenyuzifang/smartmontools.git /var/lib/mock/dist-an23-build-479279-74220/root/chroot_tmpdir/scmroot/smartmontools Cloning into '/var/lib/mock/dist-an23-build-479279-74220/root/chroot_tmpdir/scmroot/smartmontools'... $ git fetch origin e566768fd17490fd0d940485a4ccfcf4db9c67c0:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/smartmontools * [new ref] e566768fd17490fd0d940485a4ccfcf4db9c67c0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e566768 update smartmontools.spec.