{"id":24517769,"url":"https://github.com/fstab50/branchdiff","last_synced_at":"2025-03-15T11:11:01.941Z","repository":{"id":172340017,"uuid":"154978825","full_name":"fstab50/branchdiff","owner":"fstab50","description":"Git version control utility, Illustrates differences between current working branch and master branch","archived":false,"fork":false,"pushed_at":"2024-05-11T23:46:56.000Z","size":41876,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T01:36:44.436Z","etag":null,"topics":["code-tools","command-line","command-line-tool","developer-tools","diff","git","linux","merge","utilities","version-control"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fstab50.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-10-27T15:22:19.000Z","updated_at":"2025-01-13T12:27:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f7b4610-a4ac-41b2-b8c4-0ad71b805737","html_url":"https://github.com/fstab50/branchdiff","commit_stats":null,"previous_names":["fstab50/branchdiff"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fstab50%2Fbranchdiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fstab50%2Fbranchdiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fstab50%2Fbranchdiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fstab50%2Fbranchdiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fstab50","download_url":"https://codeload.github.com/fstab50/branchdiff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243719399,"owners_count":20336607,"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":["code-tools","command-line","command-line-tool","developer-tools","diff","git","linux","merge","utilities","version-control"],"created_at":"2025-01-22T01:35:11.994Z","updated_at":"2025-03-15T11:11:01.920Z","avatar_url":"https://github.com/fstab50.png","language":"Shell","readme":"\u003ca name=\"top\"\u003e\u003c/a\u003e\n* * *\n# branchdiff\n* * *\n\n## About this repository\n\n* Purpose: \t\tAccess advanced git functionality without commands for instant visibility into the status of your working branch\n* Version:\t     1.1.12\n* Repo: \t\thttps://github.com/fstab50/branchdiff\n\n\n* * *\n## Contents\n\n* [**SUMMARY**](#summary)\n\n* [**SUPPORTED LINUX DISTRIBUTIONS**](#supported-linux-distributions)\n\n* [**INSTALLATION**](#installation)\n    * [Ubuntu, Linux Mint, Debian-based Distributions](#installation)\n    * [Redhat, CentOS, Fedora, Amazon Linux](#redhat-distro-install)\n\n* [**UPGRADING**](#upgrading)\n\n* [**OPTIONS**](#options)\n\n* [**SCREENSHOTS**](#screenshots)\n    * [Working Branch Status](#screenshots)\n    * [Working Branch Status (Extended)](#screenshots1)\n    * [Commit Log History (--commit-log history)](#screenshots2)\n    * [Comit Log Detail (--commit-log detail)](#screenshots3)\n    * [Code Diff (--code)](#screenshots4)\n    * [Code Diff (--code \u003cfilename\\\u003e)](#screenshots5)\n\n* [**AUTHOR \u0026 COPYRIGHT**](#authorcopyright)\n\n* [**LICENSE**](#license)\n\n* [**DISCLAIMER**](#disclaimer)\n\n--\n\n[back to the top](#top)\n\n* * *\n## Summary\n\n[branchdiff](https://github.com/fstab50/branchdiff) is a utility for use with git version control.  The program:\n\n* Instantly see differences between current working branch and any other branch\n* Access advanced git functionality without any code or typing syntax\n* Graphical view of when commits were made to the current branch, by whom\n* Graphical merge maps\n\n[![branchdiff default view](./assets/intro_sm.png)](http://images.awspros.world/branchdiff/intro_lg.png)\n\n\n[back to the top](#top)\n\n* * *\n## Supported Linux Distributions\n\n* Ubuntu 18.04, 20.04, 20.10, 22.04\n* Linux Mint 18, 19, 20, 21\n* Debian variants of Ubuntu / Linux Mint distributions above\n* Redhat 7,8+\n* CentOS 7, 8+\n\n[back to the top](#top)\n\n* * *\n## Installation\n* * *\n\n### Ubuntu, Linux Mint, Debian variants\n\nThe easiest way to install **branchdiff** is via the Debian-tools repository:\n\n1. Download the public key:\n\n    ```\n    $ wget -qO - http://awscloud.center/keys/public.key | sudo apt-key add -\n    ```\n\n2. Install the repository:\n\n    ```\n    $ sudo echo \"deb [arch=amd64] http://deb.awscloud.center \u003cdistribution\u003e main\" \u003e \\\n                 /etc/apt/sources.list.d/debian-tools.list\n    ```\n\n    **Where:** `\u003cdistribution\u003e` is one of the following:\n\n    - `trusty`:  Ubuntu 14.04, Ubuntu 14.04 based Linux distributions\n    - `xenial`:  Ubuntu 16.04, 16.04 based Linux distributions\n    - `bionic`:  Ubuntu 18.04, 18.04 based Linux distributions ([Linux Mint 19](https://www.linuxmint.com/download.php), etc)\n    - `cosmic`:  Ubuntu 18.10, 18.10 based Linux distributions\n\n3. Verify **debian-tools** repository installation\n\n    ```\n    $  grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/*\n    ```\n\n    [![repository-contents](./assets/repo-install-verify.png)](http://images.awspros.world/branchdiff/repo-install-verify.png)\n\n4. Update and install the package:\n\n    ```\n    $ sudo apt update  \u0026\u0026  sudo apt install branchdiff\n    ```\n\n5. Verify Installation.  To verify a Debian (.deb) package installation:\n\n    ```\n    $ apt show branchdiff\n    ```\n\n    ![apt](./assets/apt-show.png)\n\n[back to the top](#top)\n\n* * *\n\u003ca name=\"redhat-distro-install\"\u003e\u003c/a\u003e\n### Redhat, CentOS, Fedora, Amazon Linux\nThe easiest way to install **branchdiff** on redhat-based Linux distributions is via the developer-tools package repository:\n\n1. Download and install the repo definition file\n\n    ```\n    $ sudo yum install wget\n    ```\n\n    [![rpm-install1](./assets/rpm-install-1.png)](http://images.awspros.world/branchdiff/rpm-install-1.png)\n\n    ```\n    $ wget http://awscloud.center/rpm/developer-tools.repo\n    ```\n\n    ```\n    $ sudo mv developer-tools.repo /etc/yum.repos.d/  \u0026\u0026  sudo chown 0:0 developer-tools.repo\n    ```\n\n2. Update local repository cache\n\n    ```\n    $ sudo yum update -y\n    ```\n\n3. Install **branchdiff** os package\n\n    ```\n    $ sudo yum install branchdiff\n    ```\n\n    [![rpm-install2](./assets/rpm-install-2.png)](http://images.awspros.world/branchdiff/rpm-install-2.png)\n\n\n    Answer \"y\":\n\n    [![rpm-install3](./assets/rpm-install-3.png)](http://images.awspros.world/branchdiff/rpm-install-3.png)\n\n\n4. Verify Installation\n\n    ```\n    $ yum info branchdiff\n    ```\n\n    [![rpm-install4](./assets/rpm-install-4.png)](http://images.awspros.world/branchdiff/rpm-install-4.png)\n\n[back to the top](#top)\n\n* * *\n## Upgrading\n* * *\n\n1. See if an upgrade is available, update your distribution's package repositories:\n\n```\n$  sudo apt update\n```\n\n2. Issue a list command to see upgrades.  Alternatively, you may issue ```$ sudo apt upgrade``` command.\n\n```\n$  apt list branchdiff -a\n```\n\n![repo-contents](./assets/repo-contents.png)\n\n3. Upgrade\n\n```\n$  sudo apt upgrade\n```\n\n[back to the top](#top)\n\n* * *\n## Options\n\nTo display the help menu:\n\n```bash\n    $ branchdiff  --help\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://images.awspros.world/branchdiff/help-menu.png\" alt=\"branchdiff help\" target=\"_blank\"/\u003e\n\u003c/p\u003e\n\n\n[back to the top](#top)\n\n* * *\n## Screenshots\n* * *\n\u003ca name=\"screenshots0\"\u003e\u003c/a\u003e\n#### [Screenshots](#screenshots) / Working Branch Status\n\n[branchdiff](https://github.com/fstab50/branchdiff) provides the status of working branch of the current git repository in which the cursor is located:\n\n\n```bash\n$ cd \u003cgit repository root directory\u003e\n```\n\n```bash\n$ branchdiff\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://images.awspros.world/branchdiff/branchdiff1.png\" alt=\"branchdiff1\"/\u003e\n\u003c/p\u003e\n\n[back to the top](#top)\n\n* * *\n\u003ca name=\"screenshots1\"\u003e\u003c/a\u003e\n#### [Screenshots](#screenshots) / Extended commit history\n\n```bash\n~/xlines$ branchdiff\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://images.awspros.world/branchdiff/branchdiff-xlines.png\" alt=\"branchdiff1\"/\u003e\n\u003c/p\u003e\n\n\n[back to the top](#top)\n\n* * *\n\u003ca name=\"screenshots2\"\u003e\u003c/a\u003e\n#### [Screenshots](#screenshots) / Commit Log / history\n\n[branchdiff](https://github.com/fstab50/branchdiff) accurately provides the commit age of the working branch where the cursor is located:\n\n```bash\n$ branchdiff --commit-log history\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://images.awspros.world/branchdiff/commit-log-history.png\" alt=\"commitlog-history\"/\u003e\n\u003c/p\u003e\n\n[back to the top](#top)\n\n\n* * *\n\n\u003ca name=\"screenshots3\"\u003e\u003c/a\u003e\n#### [Screenshots](#screenshots) / [Commit Log](screenshots3) / detail\n\n[branchdiff](https://github.com/fstab50/branchdiff) accurately provides the commit age of the working branch where the cursor is located:\n\nSimple repository with minimal branches and merges:\n\n```bash\n$ branchdiff --commit-log detail\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://images.awspros.world/branchdiff/commit-log-detail.png\" alt=\"commitlog-history\"/\u003e\n\u003c/p\u003e\n\nGit repository with many working branches and complex merge cadence:\n\n```bash\n$ branchdiff --commit-log detail\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://images.awspros.world/branchdiff/commit-log-detail2.png\" alt=\"commitlog-history\"/\u003e\n\u003c/p\u003e\n\n\n[back to the top](#top)\n\n* * *\n\u003ca name=\"screenshots4\"\u003e\u003c/a\u003e\n#### [Screenshots](#screenshots) / Code Diff\n\nWhen used without a subcommand, the code option (--code) triggers [branchdiff](https://github.com/fstab50/branchdiff) to show the lines changed in all files updated in the current working branch compared to the master branch.\n\n```bash\n$ branchdiff --code\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://images.awspros.world/branchdiff/branchdiff-code.png\" alt=\"branchdiff-code\"/\u003e\n\u003c/p\u003e\n\n[back to the top](#top)\n\n* * *\n\u003ca name=\"screenshots5\"\u003e\u003c/a\u003e\n#### [Screenshots](#screenshots) / Code Diff \\\u003cfilename\\\u003e\n\nPressing the tab key twice autocompletes the names of all files that received updates in the current working branch.\n\n```bash\n$ branchdiff --code \u003ctab\u003e\u003ctab\u003e\n\nAnsible/deploy_configuration.yml                       Code/core/ec2prices.py\nattribute_defs.yml                                     Code/core/__init__.py\ncloudformation/dynamodb-table.template.yml             Code/core/parameter_processing.py\ncloudformation/serverless-monitor.template.yml         Code/core/_version.py\nCode/connectors/dynamodb.py                            Code/index.py\nCode/connectors/__init__.py                            Jenkinsfile\nCode/connectors/table.py                               Makefile\nCode/core/dynamodb.py                                  requirements.txt\n```\n\nA filename can be selected by typing the first few characters:\n\n```bash\n$ branchdiff --code Code/con... \u003ctab\u003e\u003ctab\u003e\n```\n\n```bash\n$ branchdiff --code Code/connectors/table.py\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://images.awspros.world/branchdiff/code-filediff.png\" alt=\"branchdiff-code\"/\u003e\n\u003c/p\u003e\n\n[back to the top](#top)\n\n* * *\n\u003ca name=\"authorcopyright\"\u003e\u003c/a\u003e\n## Author \u0026 Copyright\n\nAll works contained herein copyrighted via below author unless work is explicitly noted by an alternate author.\n\n* Copyright Blake Huber, All Rights Reserved.\n\n[back to the top](#top)\n\n* * *\n\n## License\n\n* Software contained in this repository is licensed under the [MIT License](https://opensource.org/licenses/MIT).  A copy of the license agreement is included with this repository [here](./LICENSE).\n\n[back to the top](#top)\n\n* * *\n\n## Disclaimer\n\nThe following code is provided in accordance with the strict legal disclaimer below:\n\n*Code is provided \"as is\". No liability is assumed by either the code's originating author nor this repo's owner for their use at AWS or any other facility. Furthermore, running function code at AWS may incur monetary charges; in some cases, charges may be substantial. Charges are the sole responsibility of the account holder executing code obtained from this library.*\n\nAdditional terms may be found in the complete [License Agreement](https://github.com/fstab50/branchdiff/blob/master/LICENSE).\n\n[back to the top](#top)\n\n* * *\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffstab50%2Fbranchdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffstab50%2Fbranchdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffstab50%2Fbranchdiff/lists"}