$ git clone -n https://gitee.com/src-anolis-os/yarnpkg.git /var/lib/mock/dist-an23-build-341134-69863/root/chroot_tmpdir/scmroot/yarnpkg Cloning into '/var/lib/mock/dist-an23-build-341134-69863/root/chroot_tmpdir/scmroot/yarnpkg'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/yarnpkg * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a1f8633 update to 1.22.21