$ git clone -n https://gitee.com/src-anolis-os/libpng.git /var/lib/mock/dist-an23-build-173656-59011/root/chroot_tmpdir/scmroot/libpng Cloning into '/var/lib/mock/dist-an23-build-173656-59011/root/chroot_tmpdir/scmroot/libpng'... $ git reset --hard origin/a23 HEAD is now at 87ff8d1 1.6.39