summaryrefslogtreecommitdiffstats
path: root/pkg/commands
diff options
context:
space:
mode:
authorknowmost <knowmost@outlook.com>2024-04-28 11:34:34 +0800
committerStefan Haller <stefan@haller-berlin.de>2024-04-28 09:44:59 +0200
commit0677a58e9f65a36c7b88c2ff766afdc628ae8b90 (patch)
treee1b46f39877717ee60df90c612b351f246b0dc96 /pkg/commands
parentb3a60ce407e78a3e1d41d3fa6cef5f974574eb02 (diff)
chore: fix some comments and typos
Signed-off-by: knowmost <knowmost@outlook.com>
Diffstat (limited to 'pkg/commands')
-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()