$ git clone -n https://gitee.com/src-anolis-os/gperftools.git /var/lib/mock/dist-an23-build-234735-62729/root/chroot_tmpdir/scmroot/gperftools Cloning into '/var/lib/mock/dist-an23-build-234735-62729/root/chroot_tmpdir/scmroot/gperftools'... $ git reset --hard origin/a23 HEAD is now at baf0cec !2 update to 2.10 Merge pull request !2 from Meredith/a23