$ git clone -n https://gitee.com/src-anolis-dde/libzip.git /var/lib/mock/dist-an8.7-dde-la64-build-161921-58613/root/chroot_tmpdir/scmroot/libzip Cloning into '/var/lib/mock/dist-an8.7-dde-la64-build-161921-58613/root/chroot_tmpdir/scmroot/libzip'... $ git reset --hard origin/a8 HEAD is now at e7da3a1 !1 init package Merge pull request !1 from leeffo/a8