1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-17 00:18:05 +02:00

WIP hard reset

This commit is contained in:
Jesse Duffield
2018-08-09 19:32:56 +10:00
parent 2cd0bd8125
commit d08e3a55a1
3 changed files with 14 additions and 0 deletions

View File

@ -652,3 +652,7 @@ func getAndMergeFetchedBranches(branches []Branch) []Branch {
}
return branches
}
func gitResetHard() error {
return w.Reset(&git.ResetOptions{Mode: git.HardReset})
}