$ git clone -n https://gitee.com/src-opencloudos-rpms/pam.git /var/lib/mock/dist-oc8-build-119583-70609/root/chroot_tmpdir/scmroot/pam Cloning into '/var/lib/mock/dist-oc8-build-119583-70609/root/chroot_tmpdir/scmroot/pam'... $ git fetch origin c9e3426c7eaea7f138b9f2bedf2fa2964c00ca9e:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/pam * [new ref] c9e3426c7eaea7f138b9f2bedf2fa2964c00ca9e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c9e3426 import pam-1.3.1-36.tl3.ap.1