$ git clone -n https://gitee.com/YunFei-Zhu/docker.git /var/lib/mock/dist-an23.2-build-403225-72406/root/chroot_tmpdir/scmroot/docker Cloning into '/var/lib/mock/dist-an23.2-build-403225-72406/root/chroot_tmpdir/scmroot/docker'... $ git fetch origin ce3d16f9d81079dcfdc341095a9238f551a69285:KOJI_FETCH_HEAD From https://gitee.com/YunFei-Zhu/docker * [new ref] ce3d16f9d81079dcfdc341095a9238f551a69285 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ce3d16f fix build error