$ git clone -n https://src.fedoraproject.org/rpms/ghc-hoauth2.git /var/lib/mock/f38-build-688641-82330/root/chroot_tmpdir/scmroot/ghc-hoauth2 Cloning into '/var/lib/mock/f38-build-688641-82330/root/chroot_tmpdir/scmroot/ghc-hoauth2'... $ git reset --hard 44d96a41280604052ab681931e308bf3ed4fcadf HEAD is now at 44d96a4 Convert to %autorelease and %autochangelog