$ git clone -n https://src.fedoraproject.org/rpms/libarchive.git /var/lib/mock/f32-build-120167-36922/root/chroot_tmpdir/scmroot/libarchive Cloning into '/var/lib/mock/f32-build-120167-36922/root/chroot_tmpdir/scmroot/libarchive'... $ git reset --hard d9b68d7bb7ea52adc258652fd447c41c7ec92a36 HEAD is now at d9b68d7 updated sources file due to version rebase