$ git clone -n https://gitee.com/src-anolis-os/highway.git /var/lib/mock/dist-an23-build-444627-73188/root/chroot_tmpdir/scmroot/highway Cloning into '/var/lib/mock/dist-an23-build-444627-73188/root/chroot_tmpdir/scmroot/highway'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/highway * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b626ee4 use upstream tar