mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-19 11:54:19 -04:00
15 lines
291 B
Go
15 lines
291 B
Go
// Copyright 2025 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package gitrepo
|
|
|
|
import (
|
|
"context"
|
|
|
|
"code.gitea.io/gitea/modules/git"
|
|
)
|
|
|
|
func Push(ctx context.Context, repo Repository, opts git.PushOptions) error {
|
|
return git.Push(ctx, repoPath(repo), opts)
|
|
}
|