$ git clone -n https://gitee.com/opencloudos-stream/gd.git /var/lib/mock/dist-rebuild-after-rpm-check-build-132821-9384/root/chroot_tmpdir/scmroot/gd Cloning into '/var/lib/mock/dist-rebuild-after-rpm-check-build-132821-9384/root/chroot_tmpdir/scmroot/gd'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/gd * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3bb8cfc Rebuilt for OpenCloudOS Stream 23.09