$ git clone -n https://src.fedoraproject.org/rpms/ghc-doctest.git /var/lib/mock/f38-build-688483-82312/root/chroot_tmpdir/scmroot/ghc-doctest Cloning into '/var/lib/mock/f38-build-688483-82312/root/chroot_tmpdir/scmroot/ghc-doctest'... $ git reset --hard d964a2f249b7f1c3735f5db48244b889af95bbbe HEAD is now at d964a2f Convert to %autorelease and %autochangelog