$ git clone -n https://gitee.com/opencloudos-stream/dnf.git /var/lib/mock/dist-ocs23-build-119127-8433/root/chroot_tmpdir/scmroot/dnf Cloning into '/var/lib/mock/dist-ocs23-build-119127-8433/root/chroot_tmpdir/scmroot/dnf'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/dnf * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8d3c0d1 !4 [4.16.2-1] Update to 4.16.2 Merge pull request !4 from zz/master