-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for rendering branch name to git-standup
#791
Comments
The problem to group the commits by branch is, commit doesn't belong to only one branch. I have noticed you are using feature branch. These commits stay in the feature branch currently, but after they are merged, they will be in at least two branches: the original feature branch and the develop branch. Moreover, any newly created feature branches will also contain them. If the user doesn't even use feature branch, the result could be crazier. It is hard to figure out how much branches a commit belongs to. |
@spacewander, thanks. Everything you're saying makes sense. And yet, it would still be very helpful. Even when the same commit is being displayed under multiple branches. Would it otherwise be possible to show branches that you've committed to in the last days instead? So don't list the commits under it? Just the branch names and maybe a timestamp of the last commit?
It's just because, I believe if Exactly for the purpose of that function |
It is possible to make the output like feature/update-issue-templates (87 seconds ago) <Stephan Meijer>
feature/fix-login-bug (11 minutes ago) <Stephan Meijer> I will work on it once I have enough free time. |
@smeijer By iterating all the branches and logging their commits, now we can group the commits by branches like this: $ git standup -B -a spacewander -d 7
git-summary-cleanup
f788c78 - git-summary: clean up other shellcheck warnings (23 hours ago) <spacewander>
3e8c3ab - git-summary: fix incorrect active days when commits range is given (23 hours ago) <spacewander>
ff991ac - git-summary: remove useless result function. (23 hours ago) <spacewander>
203f5b4 - git-summary: add --dedup-by-email to remove duplicate users (5 days ago) <spacewander>
master
203f5b4 - git-summary: add --dedup-by-email to remove duplicate users (5 days ago) <spacewander> Obviously, the same commit Could you try this feature and give us your feedback? You can use the commands below to update it: git clone https://github.com/spacewander/git-extras -b git-standup-group-by-branch
cd git-extras && make install |
@spacewander, awesome! Works like a charm. 😎 This is exactly what I needed. Some improvements that could be made
With 2 + 3, it would be very useful for team leads during standup. But also to get a quick feeling of what your colleagues are working on. |
|
I just want to get the understanding that John worked on The limiting would be nice to get a clear and clean overview. Note that I do mean limiting per branch. So
|
Used it this morning before standup, and I love it! Thank you so much. git standup -B -a all -n 5 |
Solved. |
git standup
shows my last commits. But a (long) list of commits, is not always useful to quickly aggregate my work from last week.If we would be able to visualize the
branch
in this list, it would become much more useful.Maybe even group commits under their branches?
The text was updated successfully, but these errors were encountered: