chore: fix some comments and typos

Signed-off-by: knowmost <knowmost@outlook.com>
This commit is contained in:
knowmost 2024-04-28 11:34:34 +08:00 committed by Stefan Haller
parent b3a60ce407
commit 0677a58e9f
4 changed files with 4 additions and 4 deletions

View file

@ -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()