Skip to content

Include Git branch #22

@muety

Description

@muety

wakatime-cli has functionality to automatically detect the Git branch that you're current working on, see here, here. However, the detection will only run if the heartbeat's entity is a file, see here.

For the ZSH plugin, I think it could be use useful to override that functionality by passing the current Git (or Mercurial?) branch in the current working directory (if existing) via --alternate-branch.

Brought up in the discussion at muety/wakapi#580 (reply in thread).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions