$ git clone -n https://gitee.com/yueeranna/gdisk.git /var/lib/mock/dist-an23-build-79676-40760/root/chroot_tmpdir/scmroot/gdisk Cloning into '/var/lib/mock/dist-an23-build-79676-40760/root/chroot_tmpdir/scmroot/gdisk'... $ git reset --hard origin/a23 HEAD is now at eece4ec fix build failed