$ git clone -n https://src.fedoraproject.org/rpms/ghc-polyparse.git /var/lib/mock/f38-build-690600-82735/root/chroot_tmpdir/scmroot/ghc-polyparse Cloning into '/var/lib/mock/f38-build-690600-82735/root/chroot_tmpdir/scmroot/ghc-polyparse'... $ git reset --hard a565f5ffe07997c35f5864d116416d6e198b71f2 HEAD is now at a565f5f Convert to %autorelease and %autochangelog