Skip to content

fajarwz/git-wizard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Wizard

A blog about the development of this package can be found here:: Building a CLI Tool in JavaScript: Streamlining Tasks With Simple Commands | Fajarwz.

Git Wizard is a command-line tool built with JavaScript and Node.js to streamline and automate common Git workflows. Whether you're a solo developer or working in a team, this tool simplifies repetitive Git tasks, reducing cognitive load and improving consistency in your development process.

With Git Wizard, you can easily initialize Git repositories, commit changes, create feature branches, and push your code—all with a few simple commands.


Table of Contents


Features

  • Initialize a new Git repository: Automatically initialize a new Git repo in any project folder.
  • Create feature branches: Quickly set up branches for new features, bug fixes, or experiments.
  • Commit changes with ease: Easily commit changes with detailed messages.
  • Push to remote: Push your local changes to a remote repository (GitHub, GitLab, etc.).
  • Automated workflows: Simplify your development process by chaining commands together.

Installation

To install Git Wizard, you'll need to have Node.js (v14 or later) and npm installed on your machine.

Install Globally

You can install Git Wizard globally via npm:

npm install -g @fajarwz/git-wizard

This will allow you to run the tool from anywhere in your terminal using the git-wizard or gw command.

Usage

Once installed, you can run the following commands in your terminal:

git-wizard [command]

Or simply:

gw [command]

Commands

init

Initialize a new Git repository in the current directory.

gw init

new-feature

Create a new feature branch for development.

gw new-feature

commit

Commit staged changes with a message.

gw commit

push

Push changes to the remote repository.

gw push

Run tests

npm test

Contributing

We welcome contributions! If you'd like to help improve Git Wizard.

License

Git Wizard is licensed under the ISC License.

About

🛠️ A CLI tool to automate Git workflows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published