$ git clone -n https://src.fedoraproject.org/rpms/pl.git /var/lib/mock/f33-build-476203-63832/root/chroot_tmpdir/scmroot/pl Cloning into '/var/lib/mock/f33-build-476203-63832/root/chroot_tmpdir/scmroot/pl'... $ git reset --hard 8fb7bfbe4deb6b6081a9360493f4cd04ec00b699 HEAD is now at 8fb7bfb Actually upload the new sources.