$ git clone -n https://src.fedoraproject.org/rpms/ghc-css-text.git /var/lib/mock/f38-build-689064-82509/root/chroot_tmpdir/scmroot/ghc-css-text Cloning into '/var/lib/mock/f38-build-689064-82509/root/chroot_tmpdir/scmroot/ghc-css-text'... $ git reset --hard b2c30bf6ab20794131cd394b0efbafd0d0c34def HEAD is now at b2c30bf Convert to %autorelease and %autochangelog