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!
git clone https://github.com/adityapaul26/commit-wizard.git
cd commit-wizardIf you donโt already have pipx, install it:
sudo apt install pipx -y
pipx ensurepathNow install Commit Wizard globally:
pipx install .This makes the commitwizard command available from anywhere on your system.
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.
Navigate to any git repository and run:
commitwizardIt 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!This project is licensed under the MIT License โ see the LICENSE file for details.