$ git clone -n https://gitee.com/src-anolis-sig/keenopt.git /var/lib/mock/dist-an8.9-plus-build-349363-70461/root/chroot_tmpdir/scmroot/keenopt Cloning into '/var/lib/mock/dist-an8.9-plus-build-349363-70461/root/chroot_tmpdir/scmroot/keenopt'... $ git reset --hard origin/a8 HEAD is now at f9eb8bf Merge branch 'release-2.4.0' into release-2.4.0-a8