$ git clone -n https://gitee.com/opencloudos-stream/perl-asa.git /var/lib/mock/dist-oc9-epol-build-77561-52812/root/chroot_tmpdir/scmroot/perl-asa Cloning into '/var/lib/mock/dist-oc9-epol-build-77561-52812/root/chroot_tmpdir/scmroot/perl-asa'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/perl-asa * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 985e796 package init