$ git clone -n https://gitee.com/src-opencloudos-rpms/upower.git /var/lib/mock/dist-oc8-build-36910-12041/root/chroot_tmpdir/scmroot/upower Cloning into '/var/lib/mock/dist-oc8-build-36910-12041/root/chroot_tmpdir/scmroot/upower'... $ git reset --hard origin/oc8 HEAD is now at 3a97d51 import upower-0.99.7-4.oc8