$ git clone -n https://gitee.com/src-anolis-os/gegl.git /var/lib/mock/dist-an8.9-build-341366-69881/root/chroot_tmpdir/scmroot/gegl Cloning into '/var/lib/mock/dist-an8.9-build-341366-69881/root/chroot_tmpdir/scmroot/gegl'... $ git fetch origin a8:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/gegl * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at adb0922 Rebuild