github-todos
github-todos copied to clipboard
Failed injecting issues
Getting
Warning: failed injecting issues, you may need to do it manually in following files:
Error: Command failed: /bin/sh -c git commit -m '[Github-Todos] Inject issue numbers'
after pushing to github
I have the same issue when pushing to github:
[Github-Todos] Injecting issue numbers to files…
[Github-Todos] Failed to commit
[Github-Todos] Warning: failed injecting issues, you may need to do it manually in following files:
[Github-Todos] Error: Command failed: /bin/sh -c git commit -m '[Github-Todos] Inject issue numbers'
+1
I am trying to inject issue into a pre-existing repo having some TODO in comments... I am not sure I am using it properly, but after initialize/config github-todo, I have tried this:
github-todos _hook --remote origin --range 75fddf41d46c8bffd49006f5ee760a367d88e3d2
where I have passed only the last commit hash. I have obtained the following result:
[Github-Todos] Injecting issue numbers to files…
[Github-Todos] Failed to commit
[Github-Todos] Warning: failed injecting issues, you may need to do it manually in following files:
[Github-Todos] Error: Command failed: git commit -m '[Github-Todos] Inject issue numbers'
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
[Github-Todos] OK.
No new issue has been pushed. Can someone tell me where I am wrong?
Thank you for this great tool, my best regards.
This does not seem to work for me on archlinux too.