$ git clone -n https://gitee.com/zhonglingh/libgphoto2.git /var/lib/mock/dist-an23-build-231934-62557/root/chroot_tmpdir/scmroot/libgphoto2 Cloning into '/var/lib/mock/dist-an23-build-231934-62557/root/chroot_tmpdir/scmroot/libgphoto2'... $ git reset --hard 12d75fd439efc6540382c76af059188720282a2a HEAD is now at 12d75fd Init package from upstream