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