$ git clone -n https://src.fedoraproject.org/rpms/ghc-network-byte-order.git /var/lib/mock/f38-build-689547-82542/root/chroot_tmpdir/scmroot/ghc-network-byte-order Cloning into '/var/lib/mock/f38-build-689547-82542/root/chroot_tmpdir/scmroot/ghc-network-byte-order'... $ git reset --hard de54ec9583b1dc141859464b300acbe5d72eaf66 HEAD is now at de54ec9 Convert to %autorelease and %autochangelog