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