Skip to content

Commit

Permalink
Merge pull request #24 from Cleverlance/feature/adjust_amend
Browse files Browse the repository at this point in the history
Adjust amend
  • Loading branch information
raptorxcz authored Apr 5, 2022
2 parents 7645eb8 + 2a2c48b commit 0753ee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SwiftTools/Common/Git/Platform/GitService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public protocol GitService {
func commit(with message: String) throws
func getStatus(with arguments: [String]) throws -> String
func rebase(onto branchName: String) throws
func ammend() throws
func amend() throws
}

final class GitServiceImpl: GitService {
Expand Down Expand Up @@ -92,7 +92,7 @@ final class GitServiceImpl: GitService {
try run(commands: ["rebase", branchName])
}

func ammend() throws {
func amend() throws {
try run(commands: ["commit", "--amend", "--no-edit"])
}
}

0 comments on commit 0753ee2

Please sign in to comment.