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