$ git clone -n https://gitee.com/src-anolis-dde/GeoIP.git /var/lib/mock/dist-an8-dde-build-108484-45647/root/chroot_tmpdir/scmroot/GeoIP Cloning into '/var/lib/mock/dist-an8-dde-build-108484-45647/root/chroot_tmpdir/scmroot/GeoIP'... $ git reset --hard origin/a8 HEAD is now at 6d204ba init package