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