$ git clone -n https://gitee.com/wangpingping000/udisks2.git /var/lib/mock/dist-an7-updates-build-95565-45548/root/chroot_tmpdir/scmroot/udisks2 Cloning into '/var/lib/mock/dist-an7-updates-build-95565-45548/root/chroot_tmpdir/scmroot/udisks2'... $ git reset --hard 5b270c5e070a1840c0bab1010cc69995225d456b HEAD is now at 5b270c5 update to udisks2-2.8.4-1.el7.src.rpm