$ git clone -n https://gitee.com/src-opencloudos-rpms/krb5 /var/lib/mock/dist-oc8-build-30882-9205/root/chroot_tmpdir/scmroot/krb5 Cloning into '/var/lib/mock/dist-oc8-build-30882-9205/root/chroot_tmpdir/scmroot/krb5'... $ git reset --hard origin/oc8 HEAD is now at 4ba312c import krb5-1.18.2-22.oc8