paubenetprat / toolbelt
Your toolkit box for comparing branches and more.
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.5
- illuminate/http: ^10.0
- nunomaduro/termwind: ^1.15.1
Requires (Dev)
- laravel-zero/framework: ^10.0.2
- laravel/pint: ^1.8
- mockery/mockery: ^1.5.1
- pestphp/pest: ^2.5
README
Toolbelt is a standalone application built with Laravel Zero that allows you to compare branches, tags, and commits in a Git repository. The application can be compiled and used without any external dependencies, making it convenient to integrate into your project.
Installation
To use Toolbelt, follow these steps:
-
Clone the repository:
git clone https://github.com/PauBenetPrat/toolbelt.git
-
Give execute permissions to the compiled file:
git clone https://github.com/PauBenetPrat/toolbelt.git
-
Give execute permissions to the compiled file:
chmod +x builds/toolbelt
-
Copy build toolbelt file to any project you need it
-
Run toolbelt from the project folder. It compares branches "dev" and "revo" by default:
./toolbelt git-compare
-
Optional flags. You can pass different branches, tags, or commits as arguments:
./toolbelt git-compare dev master
- Use the -S or --skip-api-calls flag if you don't have a Bitbucket API token or want to skip linear history checks.
- Use the -O flag to open links in your default browser (it's recommended to have dual monitors for this).
- Use the --no-fetch flag to skip the initial git fetch origin command.
- Use the --skip and --limit flags to skip and limit the number of commits to check.
-
You can pass your bitbucket api token (retrieved from https://bitbucket.org///admin/access-tokens) dynamically or set it to each project .env at BITBUCKET_API_TOKEN variable.
Contribution
Contributions to Toolbelt are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
License
Toolbelt is open-source software licensed under the MIT license.