gitlib-3.1.1: API library for working with Git repositories

Safe HaskellNone
LanguageHaskell98

Git.Commit.Push

Synopsis

Documentation

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.