$ git clone -n https://gitee.com/src-opencloudos-rpms/libcap /var/lib/mock/dist-oc8-build-32459-9752/root/chroot_tmpdir/scmroot/libcap Cloning into '/var/lib/mock/dist-oc8-build-32459-9752/root/chroot_tmpdir/scmroot/libcap'... $ git reset --hard origin/oc8 HEAD is now at 8496be1 import libcap-2.48-4.tl3