Gaia is a Go-based CLI tool that allows you to modify the first commit of a Git repository easily. It ensures proper structure and provides user prompts for force pushing when necessary.
- First Commit Modification: Edit and replace the first commit message while maintaining commit integrity.
- Interactive Rebase Automation: Automates interactive rebase to allow easy commit modification.
- Git Repository Checks:
- Verifies if the directory is a Git repository.
- Ensures the working tree is clean before proceeding.
- User Prompts for Force Push: Asks for confirmation before force pushing changes.
- Error Handling: Handles rebase failures gracefully and provides recovery options.
You can install Gaia using the following command:
curl -sSf https://raw.githubusercontent.com/tejastn10/gaia/main/scripts/install.sh | bash
This will download and install the latest version of Gaia.
To remove Gaia from your system, run:
curl -sSf https://raw.githubusercontent.com/tejastn10/gaia/main/scripts/uninstall.sh | bash
This will remove the installed binary from your system.
$ gaia "Initial commit with updated message"
Successfully updated first commit: "Initial commit with updated message"
Do you want to force push the changes? (yes/no):
Contributions are welcome! Check out the Contribution Guide for details on how to get started. Feel free to open an issue or submit a pull request if you have ideas to enhance Gaia.
- Add support for advanced commit manipulation.
- Provide additional safety checks before force pushing.
- Enhance logging and error messages.
This project is licensed under the MIT License. See the LICENSE file for details.
- Named after Gaia, symbolizing stability and foundation.
- Built with ❤️ and Go.