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