$ git clone -n https://gitee.com/opencloudos-stream/rsyslog.git /var/lib/mock/dist-ocs23-build-120797-8678/root/chroot_tmpdir/scmroot/rsyslog Cloning into '/var/lib/mock/dist-ocs23-build-120797-8678/root/chroot_tmpdir/scmroot/rsyslog'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/rsyslog * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 12b4c79 !6 bump to version 8.2312.0 Merge pull request !6 from nilusyi/master