$ git clone -n https://gitee.com/opencloudos-stream/libdnf.git /var/lib/mock/dist-ocs23-build-40350-2059/root/chroot_tmpdir/scmroot/libdnf Cloning into '/var/lib/mock/dist-ocs23-build-40350-2059/root/chroot_tmpdir/scmroot/libdnf'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/libdnf * [new ref] -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 71f1a6b !2 upgrade to 0.70.2 Merge pull request !2 from cunshunxia/master