Closed hemanth closed 8 years ago
What's the difference with git init
?
@spacewander See https://github.com/kamranahmedse/git-standup
Working on...will get it done in this week.
Excellent work @spacewander . Is it also possible to make yesterday also show results for Friday, Saturday and Sunday on a Monday? I have a POC that does that: https://gist.github.com/pathikrit/fb75ba009960c4ed9ddf . I think the implementation by @kamranahmedse posted above also does that (with additional config for custom work weeks e.g. in Middle East).
@pathikrit You may need to build the since
argument from a subshell:
git standup $(git config --get user.name) "$(if [[ "Mon" == "$(LC_ALL=C date +%a)" ]]; then echo "last friday"; else echo "yesterday"; fi)"
What say @spacewander ?