Skip to content
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 git functions for sorted listing of branches based on last commit date #8790

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jgogstad
Copy link

@jgogstad jgogstad commented Apr 1, 2020

Standards checklist:

  • The PR title is descriptive.
  • The PR doesn't replicate another PR which is already open.
  • I have read the contribution guide and followed all the instructions.
  • The code follows the code style guide detailed in the wiki.
  • The code is mine or it's from somewhere with an MIT-compatible license.
  • The code is efficient, to the best of my ability, and does not waste computer resources.
  • The code is stable and I have tested it myself, to the best of my abilities.

Changes:

Only changes to the git plugin. Two new functions that makes it easy to see what branches you've worked on last, and what branches collaborators worked on last

  • gbll: List local branches, sort by commit date
  • gblo List branches on origin, sort by commit date

Other comments:

Sample

╰ gblo
2019-07-11 something_some                           John Doe
2019-07-18 address_metrics_feedback                 Jostein Gogstad
2019-07-23 something-else-entirely                  GitHub

Same output for gbll just based on local branches

@ohmyzsh ohmyzsh bot added Area: plugin Issue or PR related to a plugin Plugin: git labels Apr 1, 2020
@mcornella mcornella mentioned this pull request Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: plugin Issue or PR related to a plugin
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

None yet

2 participants