$ git clone -n https://gitee.com/src-anolis-sig/keentuned.git /var/lib/mock/dist-an8-keentune-build-189913-60619/root/chroot_tmpdir/scmroot/keentuned Cloning into '/var/lib/mock/dist-an8-keentune-build-189913-60619/root/chroot_tmpdir/scmroot/keentuned'... $ git reset --hard origin/a8-2.0 HEAD is now at eae5425 update to 2.0-0