Skip to content

Commit f806a4a

Browse files
authored
fix git reset --hard command (#371)
Signed-off-by: Kent <kent.rancourt@gmail.com>
1 parent 6cb1b91 commit f806a4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/git/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ func (r *repo) RemoteBranchExists(branch string) (bool, error) {
278278

279279
func (r *repo) ResetHard() error {
280280
_, err :=
281-
libExec.Exec(r.buildCommand("git", "reset", "--hard"))
281+
libExec.Exec(r.buildCommand("reset", "--hard"))
282282
return errors.Wrap(err, "error resetting branch working tree")
283283
}
284284

0 commit comments

Comments
 (0)