loading...

Git standup, how did I ever live without you?

ben profile image Ben Halpern ・1 min read

I am sure you've been preparing for a meeting where a team typically discusses what they did yesterday and what they are planning to do today. These are often called "standup meetings". If you are anything like me, the "remember what you did yesterday" part does not always go as smoothly as it could. Panic typically ensues and I'd find myself putting in more work than I should need to in order to simply remember the day before.

I have been using git standup for about six months and I have been very pleased. It is a simple git extension that lists your commits from yesterday.

The basic git standup command will display the git commits you performed yesterday. There are nine more flags for modification of the timeframe and other goodies. It does not provide any particularly advanced functionality, but all in all, I have found this library to be a simple and intuitive part of my daily workflow.

Posted on by:

ben profile

Ben Halpern

@ben

A Canadian software developer who thinks he’s funny. He/Him.

Discussion

markdown guide
 

Now, if only it grabbed them across ALL my projects (or my org Git repos) and sent an email to everyone interested + dashboard that would be the best stand up tool!

 

And then we'd never need to talk to each other. Yay!

 

How about this one github.com/psss/did/ ? It can grab "wth did I do last week??" data from other sources, not just git repos, see github.com/psss/did/tree/master/di... for the current set of plugins. It does not solve the "dashboard" part but it definitely produces something that can easily be copypasted into any "status report" e-mail :)

 

I could help you on the "across ALL my projects" part. Wrote something similar to remember what I did (and where).

github.com/x4121/git-amnesia

 

This is a good idea - I may write a little node script to use this tool and do just this! :)

 

Hit me up then, it would be great OSS or side project,

That didn't work for me, so instead I did the following to list all my git repos in ~/src

find . -depth -5 -type d -name ".git" | sed -e "s/\(\.\/\)\(.*\)\(\.git\)/~\/src\/\2/g" | tr '\n' ','
 

I could probably add something like this to omgit

 

And then we'd never need to talk to each every again. Yay!

 
 
 

You can do something similar with TFS:


```tf history "$/" /recursive /user:YOURUSERNAME /noprompt | head -n NUMBEROFCHECKINS



and as a Powershell function:



```function tfhist {tf history "$/" /recursive /user:YOURUSERNAME /noprompt | head -n NUMBEROFCHECKINS}
set-alias standup tfhist
 

I had such high hopes. Installed it only found 1 commit in the last 20 days.

 

A lack of activity doesn’t always mean it’s broken or out of date. It could just mean they finished.

 

Yeah, especially for a personal utility that interacts with git. Not exactly Kubernetes-level stakes.

 
 

Damn! I wish I only worked with one repository. Who isn't lazy enough to publish a bash script that starts at the parent folder, iterates all the subfolders (git projects), calls the standup command inside each and writes the results of all in a single file?

 
 

If you like git-standup, you may also find this one interesting :)
github.com/Fakerr/git-recall/

 

Very neat.

But does the install really require sudo for such a trivial task? I would use this if I could install it in userspace.

 

This will save me a lot of time before stand ups meetings :-). Got to try it out

 

Never heard of this before, thanks for sharing! I've just installed it :)

 
 
 

Just wow, need to get it straight away

 

What is that terminal that's being shown in the gif that shows the git branch you're working on?

 
 

Nice. But all of this already exists in the built-in Version Control Logs and Local History in my Jetbrains IntelliJ IDEA Ultimate.

Level up you VS Coder folks and get a real IDE :)

 

+1. Any modern IDE with GIT integration provides this functionality with clear and nice graphics interface out of the box.