$ git clone -n https://gitee.com/opencloudos-stream/cgit.git /var/lib/mock/dist-rebuild-after-rpm-check-build-176530-11054/root/chroot_tmpdir/scmroot/cgit Cloning into '/var/lib/mock/dist-rebuild-after-rpm-check-build-176530-11054/root/chroot_tmpdir/scmroot/cgit'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/cgit * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d089613 update