Skip to content

a CLI tool to automatically stage,commit and push changes to your Git repository with ease

License

Notifications You must be signed in to change notification settings

adityapaul26/commit-wizard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Commit Wizard โœจ

A simple Python CLI tool to automatically stage, commit, and push changes to your Git repository with ease.
No more typing long git commands โ€“ just run commitwizard and youโ€™re done!


๐Ÿš€ Installation

1. Clone the repository

git clone https://github.com/adityapaul26/commit-wizard.git
cd commit-wizard

2. Install using pipx(recommended)

If you donโ€™t already have pipx, install it:

sudo apt install pipx -y
pipx ensurepath

Now install Commit Wizard globally:

pipx install .

This makes the commitwizard command available from anywhere on your system.

โš ๏ธ Important Note

Commit Wizard only works inside a Git repository. If you try to run it in a folder that is not a Git repo, it will exit with an error:

โŒ Not a Git repository. Please run inside a Git repo.

Make sure your repo is initialized with git init or cloned from GitHub before using this tool.

๐Ÿ› ๏ธ Usage

Navigate to any git repository and run:

commitwizard

It will ask you for a commit message.

If you press Enter without typing anything, it will generate a default commit message with a timestamp.

It will then:

Stage all changes (git add .)

Commit the changes

Push them to the current branch

Example:

$ commitwizard
Enter commit message (press Enter for default):
Added login feature
โœ… Changes pushed successfully!

๐Ÿ“œ License

This project is licensed under the MIT License โ€“ see the LICENSE file for details.

About

a CLI tool to automatically stage,commit and push changes to your Git repository with ease

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages