$ git clone -n https://gitee.com/opencloudos-stream/perl-Getopt-Long-Descriptive.git /var/lib/mock/dist-oc9-epol-build-94328-59557/root/chroot_tmpdir/scmroot/perl-Getopt-Long-Descriptive Cloning into '/var/lib/mock/dist-oc9-epol-build-94328-59557/root/chroot_tmpdir/scmroot/perl-Getopt-Long-Descriptive'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/perl-Getopt-Long-Descriptive * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 386a88c update