$ git clone -n https://gitee.com/zhonglingh/libgphoto2.git /var/lib/mock/dist-an23-build-232363-62581/root/chroot_tmpdir/scmroot/libgphoto2 Cloning into '/var/lib/mock/dist-an23-build-232363-62581/root/chroot_tmpdir/scmroot/libgphoto2'... $ git reset --hard 3c951f086d6313f9a19b612ba9e0f3533db9d6b3 HEAD is now at 3c951f0 Init package from upstream