kamranahmedse / git-standup
- понедельник, 11 апреля 2016 г. в 03:12:30
Shell
Recall what you did on the last working day ..Psst! or be nosy and find what some "other guy" in your team did ;-)
Recall what you did on the last working day ..or be nosy and find what some other guy did.
$ git clone https://github.com/kamranahmedse/git-standup.git
$ cd git-standup
$ sudo make installAll you have to do is run git standup in a repository or a folder containing multiple repositories
Head to the project repository and run
$ git standupOpen a directory having multiple repositories and run
$ git standupThis will show you all your commits since the last working day in all the repositories inside.
If you want to find out someone else's commits do
# Considering their name on git is "John Doe"
$ git standup "John Doe"By default, it considers that the work week starts on Monday and ends on Friday. So if you are running this on any day between Tuesday and Friday, it will show you your commits from the last day. However, if you are running this on Monday, it will show you all your commits since Friday.
If you want to change this, like I want because here in Dubai working days are normally Sunday to Thursday, you will have to do the following
$ git standup "John Doe" SUN-THUMIT © Kamran Ahmed