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