Closed acuarica closed 4 years ago
Reading the Wiki found out this is exactly the expected behavior. Taken from the Wiki, Commit Time:
This is automatically called from the postcommit hook
Warning - any time logged will be cleared from your working directory
I'll close this issue.
I would like to be able to track hours without actually committing (maybe code is not ready for commit and I spent a couple of hours reading a code base). I figured the command
gtm commit
should do the trick.When I execute the command
gtm commit -yes
, I get the following message and the command exits with error code 1:But the main issue is, that after executing
gtm commit
my pending data is gone, i.e., thegtm report
command shows no new time added andgtm status
resets.Here is a full sequence of steps on how to reproduce the issue:
Am I doing something wrong? How is the
gtm commit
command should work exactly?Just wondering, last commit for gtm was from last year, how active is the project? I'm asking because I really enjoy managing my time with it, and I would like to see it gaining more traction.
Anyways, thanks for this cool tool!