gitmorph-cli
v1.0.4
Published
Advanced Git operations and developer productivity tool
Downloads
323
Maintainers
Readme
GitMorph CLI
GitMorph CLI is an advanced Git operations and developer productivity tool that simplifies Git commands and provides additional features to enhance your development workflow.
Installation
To install GitMorph CLI globally, run:
npm install -g gitmorph-cli
Usage
After installation, you can use the gim
command followed by the desired operation. Here's a list of available commands:
Git Operations
gim init
: Initialize a new Git repositorygim clone <url>
: Clone a repositorygim stage <files>
: Stage filesgim save "<message>"
: Commit changesgim upload
: Push to remotegim download
: Pull from remotegim status
: Check statusgim history
: Check loggim branch <name>
: Create a new branchgim switch <branch>
: Switch to a different branchgim merge <branch>
: Merge branchesgim delete <branch>
: Delete a branchgim stash
: Stash changesgim apply-stash
: Apply stashed changesgim rebase <branch>
: Rebase current branch
Beyond Git
gim create-ignore
: Create a .gitignore file with common patternsgim analyze
: Analyze repository statisticsgim todo
: List or add TODO comments in your codegim scaffold <type>
: Scaffold a basic project structure (node, react)gim search <query>
: Search for a string in all filesgim diff
: Show changes between commits, commit and working tree, etcgim blame <file>
: Show what revision and author last modified each line of a filegim hooks
: Manage Git hooksgim lint
: Lint your codegim benchmark <command>
: Run a simple benchmark testgim dependencies
: Analyze project dependenciesgim docker
: Generate a basic Dockerfile for the projectgim test
: Run testsgim config
: Manage GitMorph configuration
Examples
- Initialize a new repository:
gim init
- Stage all files and commit:
gim stage .
gim save "Initial commit"
- Push changes to remote:
gim upload
- Analyze repository statistics:
gim analyze
- Scaffold a new Node.js project:
gim scaffold node
- Search for a string in all files:
gim search "TODO"
- Run a benchmark test:
gim benchmark "npm test" -r 10
- Generate a Dockerfile:
gim docker
Configuration
You can configure GitMorph CLI using the gim config
command. This allows you to set global or local configurations.
- Set a global configuration:
gim config -g -s key value
- Set a local configuration:
gim config -l -s key value
- View current configuration:
gim config -v
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License.
Author
blu3ph4ntom
Repository
https://github.com/hemanth0525/gitmorph-cli
Homepage
https://hemanth0525.github.io/gitmorph