-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include Git branch #22
Comments
PR is welcome |
and happy new year 🎉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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).
The text was updated successfully, but these errors were encountered: