$ git clone -n https://gitee.com/opencloudos-stream/gtk-layer-shell.git /var/lib/mock/dist-oc9-epol-build-83420-57174/root/chroot_tmpdir/scmroot/gtk-layer-shell Cloning into '/var/lib/mock/dist-oc9-epol-build-83420-57174/root/chroot_tmpdir/scmroot/gtk-layer-shell'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/gtk-layer-shell * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5e9ba54 package init