{"id":17152096,"url":"https://github.com/alicederyn/gittools","last_synced_at":"2026-01-05T04:06:14.933Z","repository":{"id":45541870,"uuid":"50422867","full_name":"alicederyn/gittools","owner":"alicederyn","description":"CLI tools to get more out of git","archived":false,"fork":false,"pushed_at":"2024-09-25T10:49:32.000Z","size":303,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-02T01:45:19.246Z","etag":null,"topics":["git"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alicederyn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-26T10:56:20.000Z","updated_at":"2024-09-25T10:49:36.000Z","dependencies_parsed_at":"2025-01-26T00:51:41.919Z","dependency_job_id":"0940ce62-16db-4891-851d-03680f41771c","html_url":"https://github.com/alicederyn/gittools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alicederyn%2Fgittools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alicederyn%2Fgittools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alicederyn%2Fgittools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alicederyn%2Fgittools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alicederyn","download_url":"https://codeload.github.com/alicederyn/gittools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244734442,"owners_count":20501071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git"],"created_at":"2024-10-14T21:42:48.202Z","updated_at":"2026-01-05T04:06:09.898Z","avatar_url":"https://github.com/alicederyn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Alice's git tools\n=================\n\nThis project contains a set of git CLI tools maintained by [alicederyn]. The most stable is `git graph-branch`, which displays a clean tree of your local git repository's branches, including forks and merges, whether the branch is in sync with origin (GitHub only), and whether tests are currently passing in CI.\n\n[alicederyn]: https://github.com/alicederyn\n\nTo install the tools, use [pipx]:\n\n```bash\npip install pipx\nexport PATH=\"$PATH:$HOME/.local/bin\"\npipx install git+https://github.com/alicederyn/gittools.git\n```\n\n[pipx]: https://pipxproject.github.io/pipx/\n\n* [git graph-branch](#git-graph-branch)\n* [git pr](#git-pr)\n\n\ngit graph-branch\n----------------\n\n    Usage: git graph-branch [options]\n\n    Symbols:\n        🔷   This branch is in sync with a remote of the same name\n        🔶   This branch is out of sync with a remote of the same name\n        ⌛   A CI build is in progress for this branch\n        💚   A CI build has succeeded for this branch\n        🔥   A CI build has failed for this branch\n\n    Options:\n        -h --help               Show this screen.\n        -w, --watch             Continue to watch for git repo changes after printing the graph.\n        --profile               Profiles the app.\n        -l, --local             Only display information available from the local git repo.\n                                Continuous integration results will not be fetched.\n\nThis tool is optimized for [the Hack font](https://github.com/source-foundry/Hack), and may not look as good with other font choices.\n\nTo get the best out of git graph-branch, I recommend a few configuration changes to your git checkout (`/path/to/repo/.git/config`, or `~/.gitconfig` if you would like to make these changes to every checkout); these will also give you better defaults for several git commands.\n\n    [branch]\n      autosetupmerge = always  # sets upstream information when you run git checkout -b \u003cbranch\u003e\n    [remote]\n      pushdefault = origin  # plain git push will continue to work as expected\n    [gc]\n      auto = 100000  # keeps branch history for longer\n    [pull]\n      rebase = true  # git graph-branch assumes you always rebase remote changes\n    [push]\n      default = simple  # plain git push will continue to work as expected\n\nIf you have not used these defaults before, you may want to set up upstream information for your existing branches as a one-off. For instance, if `feature/foo` is going to be applied to `develop`, run `git branch feature/foo --set-upstream-to=develop`. Once you have made the config changes above, `git checkout -b feature/foo` will set this upstream information for you when you create the branch.\n\ngit graph-branch will then use this upstream information to determine a tree structure for your branches. For instance, you might see something like:\n\n    ─  cleanup/immutables 🔷 🔥\n    ┬  feature/java.8\n    ┼  feature/herc.strategy.api.plugin 🔷 💚 \n    ┼  feature/no.more.internal.cluster.dispatch.connection 🔷 💚 \n    ├▶╴  feature/distTar-unbreakable 🔷 💚\n    ┴  develop 🔶 💚 ② unmerged\n    ─  workspace\n\nIn this case, `feature/java.8` is branched off `feature/herc.strategy.api.plugin`, which is branched off `feature/no.more.internal.cluster.dispatch.connection`, which itself is branched off of `develop` (and all four are passing CI tests!).\n\n\ngit pr\n------\n\n(Mac only)\n\nOpens the browser to a GitHub page for creating a new PR for this branch, using upstream as the target branch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falicederyn%2Fgittools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falicederyn%2Fgittools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falicederyn%2Fgittools/lists"}