Skip to main content

has_commits_to_undo

Function has_commits_to_undo 

Source
pub fn has_commits_to_undo() -> bool
Expand description

Check if HEAD has a parent commit (i.e., we can undo)