$ git clone -n https://gitee.com/src-anolis-os/libieee1284.git /var/lib/mock/dist-an23-build-233017-62636/root/chroot_tmpdir/scmroot/libieee1284 Cloning into '/var/lib/mock/dist-an23-build-233017-62636/root/chroot_tmpdir/scmroot/libieee1284'... $ git reset --hard origin/a23 HEAD is now at 57bda98 Init package from upstream