$ git clone -n https://gitee.com/src-opencloudos-rpms/gnutls.git /var/lib/mock/dist-oc8-build-36913-12041/root/chroot_tmpdir/scmroot/gnutls Cloning into '/var/lib/mock/dist-oc8-build-36913-12041/root/chroot_tmpdir/scmroot/gnutls'... $ git reset --hard origin/oc8 HEAD is now at 08b96b8 import gnutls-3.6.16-6.oc8