$ git clone -n https://src.fedoraproject.org/rpms/ghc-X11.git /var/lib/mock/f38-build-688295-82306/root/chroot_tmpdir/scmroot/ghc-X11 Cloning into '/var/lib/mock/f38-build-688295-82306/root/chroot_tmpdir/scmroot/ghc-X11'... $ git reset --hard f6ff88c975c699f3091c650177936bd414af1cb8 HEAD is now at f6ff88c Convert to %autorelease and %autochangelog