$ git clone -n https://gitee.com/src-opencloudos-rpms/nettrace /var/lib/mock/dist-oc8-build-34366-10781/root/chroot_tmpdir/scmroot/nettrace Cloning into '/var/lib/mock/dist-oc8-build-34366-10781/root/chroot_tmpdir/scmroot/nettrace'... $ git reset --hard origin/oc8 HEAD is now at 9559bdb update changelog