Skip to content

Commit

Permalink
Merge pull request #222 from bufferoverflow/feat/use-force-push
Browse files Browse the repository at this point in the history
feat: use force push, e.g., next branches are rebasing in many repos
  • Loading branch information
bachp authored Jul 5, 2023
2 parents 499247a + 9aec78d commit 84c5df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ impl GitWrapper for Git {

let mut push_cmd = self.git_base_cmd();
push_cmd.current_dir(repo_dir);
push_cmd.arg("push");
push_cmd.args(["push", "-f"]);
if let Some(r) = &refspec {
push_cmd.arg(dest);
for spec in r.iter() {
Expand Down

0 comments on commit 84c5df4

Please sign in to comment.