-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Add spent time to referenced issue in commit message #12220
Add spent time to referenced issue in commit message #12220
Conversation
370a352
to
95191e7
Compare
Agree with @silverwind - this will need some documentation. I guess it could go in to the FAQ? |
@silverwind yes it is meant to work for scenario when issue is fixed by commit. Later it could be improved to work on referenced issues also. I will try to work on some docs |
95191e7
to
3401bc6
Compare
@silverwind documentation added in docs section |
Codecov Report
@@ Coverage Diff @@
## master #12220 +/- ##
=======================================
Coverage 43.30% 43.31%
=======================================
Files 646 646
Lines 71567 71616 +49
=======================================
+ Hits 30994 31017 +23
- Misses 35556 35580 +24
- Partials 5017 5019 +2
Continue to review full report at Codecov.
|
🚀 |
Add support to specify spent time in commit message that will be added to references issue/PR.
Allows to specify time only for issues/PR that will be closed.
Time spent must be specified after issue/PR number in message.
Time should start with
@
symbol and must contain time format, ex.@1h10m
- would mean 1 hour and 10 minutes.It is possible to log time for multiple issues, ex:
Following time units are supported:
mo
- month (equals to 4 weeks)w
- week (equals to 5 days)d
- day (equals to 8 hours)h
- hourm
- minutesScreenshot: