$ git clone -n https://src.fedoraproject.org/rpms/ghc-glib.git /var/lib/mock/f38-build-688589-82324/root/chroot_tmpdir/scmroot/ghc-glib Cloning into '/var/lib/mock/f38-build-688589-82324/root/chroot_tmpdir/scmroot/ghc-glib'... $ git reset --hard d5fc09fabc8f1c7538a67c5966b34111c42d8297 HEAD is now at d5fc09f Convert to %autorelease and %autochangelog