$ git clone -n https://gitee.com/src-anolis-os/golang.git /var/lib/mock/dist-an23-build-253751-63537/root/chroot_tmpdir/scmroot/golang Cloning into '/var/lib/mock/dist-an23-build-253751-63537/root/chroot_tmpdir/scmroot/golang'... $ git reset --hard origin/a23 HEAD is now at 1519bb7 !18 update spec * adjust bootstrap * Remove the useless obsoletes