summaryrefslogtreecommitdiffstats
path: root/pkg/commands/git_commands/working_tree.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/git_commands/working_tree.go')
-rw-r--r--pkg/commands/git_commands/working_tree.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/git_commands/working_tree.go b/pkg/commands/git_commands/working_tree.go
index 3346c4f35..7639dbad8 100644
--- a/pkg/commands/git_commands/working_tree.go
+++ b/pkg/commands/git_commands/working_tree.go
@@ -363,7 +363,7 @@ func (self *WorkingTreeCommands) ResetAndClean() error {
return self.RemoveUntrackedFiles()
}
-// ResetHardHead runs `git reset --hard`
+// ResetHard runs `git reset --hard`
func (self *WorkingTreeCommands) ResetHard(ref string) error {
cmdArgs := NewGitCmd("reset").Arg("--hard", ref).
ToArgv()