GitMen is a command-line tool designed to streamline dependency management and Git repository status checks across multiple projects.
For more information, you can visit the GitMen project page on PyPI
- Python 3.x installed
- npm installed (for Node.js projects)
- Git installed
-
Install GitMen via pip (recommended):
pip install gitmen
-
Clone the GitMen repository (optional, if you want to modify the source code):
git clone https://github.com/lucasferreiralimax/gitmen.git cd gitmen
-
Install Python dependencies (if you cloned the repository):
pip install .
-
Make the script executable (if needed):
chmod +x gitmen.py
-
Optionally, you can create a symbolic link to run
gitmen
from anywhere:ln -s /path/to/gitmen.py /usr/local/bin/gitmen
-
Update dependencies in a specific project directory:
gitmen -u /path/to/project_directory
-
Ignore specific dependencies during updates:
gitmen -u /path/to/project_directory -i dependency1,dependency2
-
Check outdated dependencies across all projects:
gitmen -a
-
Check Git status in all projects:
gitmen -g
-
Update dependencies using
npm-check-updates
and commit changes:gitmen -n /path/to/project_directory
-
Run a custom script on a project:
gitmen -s "custom script command"
-
Run an Angular-specific update process:
gitmen ng /path/to/project_directory
-
Fix Expo project dependencies:
gitmen expo /path/to/project_directory
-
Specify the base directory where projects are located (default is
~/Documents
):gitmen -b /path/to/base_directory -u /path/to/project_directory
-
Use a custom commit message when updating dependencies:
gitmen -u /path/to/project_directory -m "your custom commit message"
-
Use a custom commit message with
npm-check-updates
:gitmen -n /path/to/project_directory -m "your custom commit message"
-
Check GitHub repositories linked to your account:
gitmen github
-
Clone repositories from GitHub by username:
gitmen clone username
-
Select the language for the CLI interface:
gitmen language
-
Display program version:
gitmen -v
-
Display help message:
gitmen --help