$ git clone -n https://gitee.com/aixan/upower.git /var/lib/mock/dist-an8.6-build-95630-45467/root/chroot_tmpdir/scmroot/upower Cloning into '/var/lib/mock/dist-an8.6-build-95630-45467/root/chroot_tmpdir/scmroot/upower'... $ git reset --hard c9dc5b780abc0dd3150eddf0866cdf8734ca6720 HEAD is now at c9dc5b7 import upower-0.99.7-3.el8.src.rpm