$ git clone -n https://gitee.com/opencloudos-stream/Lmod.git /var/lib/mock/dist-ocs23-build-34112-1600/root/chroot_tmpdir/scmroot/Lmod Cloning into '/var/lib/mock/dist-ocs23-build-34112-1600/root/chroot_tmpdir/scmroot/Lmod'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/Lmod * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c214ae1 !2 update to 8.7.30 Merge pull request !2 from abushwang/master