$ git clone -n https://src.fedoraproject.org/rpms/ghc-modern-uri.git /var/lib/mock/f38-build-691207-82819/root/chroot_tmpdir/scmroot/ghc-modern-uri Cloning into '/var/lib/mock/f38-build-691207-82819/root/chroot_tmpdir/scmroot/ghc-modern-uri'... $ git reset --hard fcc1c11a91bce6e554becae5881ffe16bf0d582c HEAD is now at fcc1c11 Convert to %autorelease and %autochangelog