$ git clone -n https://gitee.com/src-opencloudos-rpms/linuxptp.git /var/lib/mock/dist-oc8-build-38771-12693/root/chroot_tmpdir/scmroot/linuxptp Cloning into '/var/lib/mock/dist-oc8-build-38771-12693/root/chroot_tmpdir/scmroot/linuxptp'... $ git reset --hard origin/oc8 HEAD is now at 2258cf4 import linuxptp-3.1.1-3.tl3.1