git-shortcuts 0.1.1-rc0

Git shortcuts.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(thiserror::Error, Debug)]
pub enum Error {
    #[error("HEAD is not pointing to a branch.")]
    HeadIsNotABranch,
    #[error("{0} is not a known prefix.")]
    UnknownPrefix(String),
    #[error("{0} is not a valid branch name.")]
    InvalidBranchName(String),
    #[error("No staged changes were found.")]
    NoStagedChanges,
}