$ git clone -n https://gitee.com/gordonwwang/rpm.git /var/lib/mock/dist-ocs23-build-118949-8411/root/chroot_tmpdir/scmroot/rpm Cloning into '/var/lib/mock/dist-ocs23-build-118949-8411/root/chroot_tmpdir/scmroot/rpm'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/gordonwwang/rpm * [new ref] HEAD -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b413303 Upgrade to version 4.18.2