$ git clone -n https://gitee.com/fundawang/OpenEXR.git /var/lib/mock/dist-an23-build-286423-64832/root/chroot_tmpdir/scmroot/OpenEXR Cloning into '/var/lib/mock/dist-an23-build-286423-64832/root/chroot_tmpdir/scmroot/OpenEXR'... $ git fetch origin 99ab1c06b4f932116bb3ed3836ac99faab3226d1:KOJI_FETCH_HEAD From https://gitee.com/fundawang/OpenEXR * [new ref] 99ab1c06b4f932116bb3ed3836ac99faab3226d1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 99ab1c0 update