$ git clone -n https://gitee.com/opencloudos-stream/rpm.git /var/lib/mock/dist-ocs23-build-13206-872/root/chroot_tmpdir/scmroot/rpm Cloning into '/var/lib/mock/dist-ocs23-build-13206-872/root/chroot_tmpdir/scmroot/rpm'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/rpm * [new ref] -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 31e7868 !1 update to 4.18.1 Merge pull request !1 from rockerzhu/master