$ git clone -n https://gitee.com/src-anolis-os/jq.git /var/lib/mock/dist-an23.3-build-416604-72865/root/chroot_tmpdir/scmroot/jq Cloning into '/var/lib/mock/dist-an23.3-build-416604-72865/root/chroot_tmpdir/scmroot/jq'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/jq * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 42bd5a4 upadte to 1.7.1-8