Committer uses Composer to manage its dependencies. Make sure you have Composer installed on your machine before using Committer.
composer global require mrshennawy/committerYou must place Composer's system-wide vendor bin directory in your $PATH so that your system can locate the Committer executable.
This directory exists in different locations based on your operating system. Some common locations include:
- macOS:
$HOME/.composer/vendor/bin-
export PATH=$PATH:$HOME/.composer/vendor/bin
-
- Windows:
%USERPROFILE%\AppData\Roaming\Composer\vendor\bin-
set PATH=%PATH%;%USERPROFILE%\AppData\Roaming\Composer\vendor\bin
-
- GNU / Linux Distributions:
$HOME/.config/composer/vendor/binor$HOME/.composer/vendor/bin-
export PATH=$PATH:$HOME/.config/composer/vendor/bin
-
export PATH=$PATH:$HOME/.composer/vendor/bin`
-
You can also find the global installation path of Composer by running composer global about and looking for it in the first line.
After installing the package, you can use it by running only gc:
- The
gccommand now supports the following options:--select: This option allows to select the files before committing. It can be used asgc --selectorgc -s.--build: This option builds the project before commit. It can be used asgc --buildorgc -b.
- Mahmoud Shennawy | GitHub | LinkedIn | m.alshenaawy@gmail.com
You can also see the list of contributors who participated in this project.
This project is licensed under the MIT License. See the file LICENSE.md for details.