$ git clone -n https://gitee.com/src-anolis-os/jurand.git /var/lib/mock/dist-an23.3-build-417656-72869/root/chroot_tmpdir/scmroot/jurand Cloning into '/var/lib/mock/dist-an23.3-build-417656-72869/root/chroot_tmpdir/scmroot/jurand'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/jurand * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bf3a17f update to 1.3.2-5