1
0
Fork 0

feat: allow amended commits

timestamps
dump_stack() 2024-02-21 22:48:39 +00:00
parent a9a42ba33a
commit 8812cb4293
Signed by: dump_stack
GPG Key ID: C9905BA72B5E02BB
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ func (c Client) PushRepo(repo api.Repo) (err error) {
remote := fmt.Sprintf("git://%s/%s", addr, repo.Name)
log.Debug().Msgf("git proxy remote: %v", remote)
raw, err := exec.Command("git", "--work-tree", repo.Path, "push", remote).
raw, err := exec.Command("git", "--work-tree", repo.Path, "push", "--force", remote).
CombinedOutput()
if err != nil {
return