$ git clone -n https://gitee.com/src-opencloudos-rpms/pam /var/lib/mock/dist-oc8-build-68179-46766/root/chroot_tmpdir/scmroot/pam Cloning into '/var/lib/mock/dist-oc8-build-68179-46766/root/chroot_tmpdir/scmroot/pam'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/pam * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3caea05 import pam-1.3.1-25.tl3.1