$ git clone -n https://gitee.com/mgb01105731/squid_1.git /var/lib/mock/dist-an23-build-323110-68397/root/chroot_tmpdir/scmroot/squid_1 Cloning into '/var/lib/mock/dist-an23-build-323110-68397/root/chroot_tmpdir/scmroot/squid_1'... $ git reset --hard origin/a23 HEAD is now at 247077c update to 6.4