$ git clone -n https://gitee.com/src-anolis-sig/keentuned.git /var/lib/mock/dist-an8-keentune-build-93862-45489/root/chroot_tmpdir/scmroot/keentuned Cloning into '/var/lib/mock/dist-an8-keentune-build-93862-45489/root/chroot_tmpdir/scmroot/keentuned'... $ git reset --hard origin/a8-1.2.1-2 HEAD is now at 96c3d4d update to 1.2.1-2