gitlib-3.0.0: API library for working with Git repositories

Safe HaskellNone




pushCommit :: (MonadGit r m, MonadGit s (t m), MonadTrans t) => CommitOid r -> Text -> t m (CommitOid s)Source

Fast-forward push a reference between repositories using a recursive copy. This can be extremely slow, but always works no matter which two backends are being used. It should be considered a matter of last resort, or for objects sets that are known to be small.