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