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:
@ -652,3 +652,7 @@ func getAndMergeFetchedBranches(branches []Branch) []Branch {
|
||||
}
|
||||
return branches
|
||||
}
|
||||
|
||||
func gitResetHard() error {
|
||||
return w.Reset(&git.ResetOptions{Mode: git.HardReset})
|
||||
}
|
||||
|
Reference in New Issue
Block a user