$ git clone -n https://gitee.com/src-anolis-os/gc.git /var/lib/mock/dist-an23-build-200081-60963/root/chroot_tmpdir/scmroot/gc Cloning into '/var/lib/mock/dist-an23-build-200081-60963/root/chroot_tmpdir/scmroot/gc'... $ git reset --hard origin/a23 HEAD is now at 4bf0af5 8.2.2