$ git clone -n https://gitee.com/src-opencloudos-rpms/ledmon /var/lib/mock/dist-oc8-build-32148-9675/root/chroot_tmpdir/scmroot/ledmon Cloning into '/var/lib/mock/dist-oc8-build-32148-9675/root/chroot_tmpdir/scmroot/ledmon'... $ git reset --hard origin/oc8 HEAD is now at 1b3b8bb import ledmon-0.96-2.tl3