$ git clone -n https://gitee.com/xzyang-anolis/gnome-backgrounds.git /var/lib/mock/dist-an23-build-347369-70361/root/chroot_tmpdir/scmroot/gnome-backgrounds Cloning into '/var/lib/mock/dist-an23-build-347369-70361/root/chroot_tmpdir/scmroot/gnome-backgrounds'... $ git fetch origin 6b855b2f10e72ead61fb11426bbfee56b0ca72a1:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/gnome-backgrounds * [new ref] 6b855b2f10e72ead61fb11426bbfee56b0ca72a1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6b855b2 pkg init