$ git clone -n https://gitee.com/opencloudos-stream/pam_2fa.git /var/lib/mock/dist-ocs23-epol9-build-159690-10046/root/chroot_tmpdir/scmroot/pam_2fa Cloning into '/var/lib/mock/dist-ocs23-epol9-build-159690-10046/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