Interface Branch

All Known Implementing Classes:
MkBranch, RtBranch

@Immutable public interface Branch
Git branch.
Since:
0.24
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Commit that the branch currently points to.
    Name of the branch.
    The repo we're in.
  • Method Details

    • repo

      Repo repo()
      The repo we're in.
      Returns:
      Repo
    • name

      String name()
      Name of the branch.
      Returns:
      Branch name
    • commit

      Commit commit()
      Commit that the branch currently points to.
      Returns:
      Commit the branch currently points to