$ git clone -n https://gitee.com/opencloudos-stream/perl-Shell-Config-Generate.git /var/lib/mock/dist-oc9-epol-build-94672-59562/root/chroot_tmpdir/scmroot/perl-Shell-Config-Generate Cloning into '/var/lib/mock/dist-oc9-epol-build-94672-59562/root/chroot_tmpdir/scmroot/perl-Shell-Config-Generate'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/perl-Shell-Config-Generate * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2f52ec6 update