$ git clone -n https://gitee.com/src-anolis-os/grep.git /mnt/koji-mock/dist-an23-sw8a-build-460087-73718/root/chroot_tmpdir/scmroot/grep Cloning into '/mnt/koji-mock/dist-an23-sw8a-build-460087-73718/root/chroot_tmpdir/scmroot/grep'... $ git reset --hard origin/a23 HEAD is now at 389247a 3.11