$ git clone -n https://gitee.com/opencloudos-stream/R-pkg.git /var/lib/mock/dist-ocs23-build-9471-273/root/chroot_tmpdir/scmroot/R-pkg Cloning into '/var/lib/mock/dist-ocs23-build-9471-273/root/chroot_tmpdir/scmroot/R-pkg'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/R-pkg * [new ref] -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at aee63e4 !1 update to 4.3.1 Merge pull request !1 from abushwang/master