A simple CLI tool to simplify common Git commands like initializing repositories, committing changes, pushing to remote, etc.
To use Git Helper CLI, you can install it globally via npm:
npm install -g @dom557/git-helper-cli
Once installed, you can use the git-helper
command followed by the desired action:
npm run git-helper <command> [options]
For example, to initialize a new Git repository:
git-helper init
init
: Initialize a new git repositorystatus
: Check the status of the repositorycommit <message>
: Commit changespush [remote] [branch]
: Push changes to the remote repositorybranch <branchName>
: Create a new branchmerge <branchName>
: Merge another branch into the current branchinit-gitignore
: Create a .gitignore file with common defaultsremotes
: List all remote repositoriesadd-all
: Add all untracked files to the staging arealog-last
: Show details of the last commitcheckout <branchName>
: Checkout an existing branch
Contributions are welcome! Please open an issue or submit a pull request with any improvements or additional features.
This project is licensed under the MIT License - see the LICENSE file for details.