$ git clone -n https://gitee.com/src-anolis-os/librepo.git /var/lib/mock/dist-an23-build-130201-46288/root/chroot_tmpdir/scmroot/librepo Cloning into '/var/lib/mock/dist-an23-build-130201-46288/root/chroot_tmpdir/scmroot/librepo'... $ git reset --hard origin/a23 HEAD is now at 1bc593b add doc package