$ git clone -n https://git.cclinux.org/stage/rpms/libgphoto2.git /var/lib/mock/dist-circle8-build-16253-3210/root/chroot_tmpdir/scmroot/libgphoto2 Cloning into '/var/lib/mock/dist-circle8-build-16253-3210/root/chroot_tmpdir/scmroot/libgphoto2'... $ git reset --hard 0b5804e312b9b4f5b3fb7faf7cd2b4945d4ad660 HEAD is now at 0b5804e import libgphoto2-2.5.16-3.el8