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