+
Skip to content
/ gaia Public

CLI tool to seamlessly update the first commit message in a Git repository without manual intervention.

License

Notifications You must be signed in to change notification settings

tejastn10/gaia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Gaia 🌀

GitHub go.mod Go version Unit Tests Release Workflow License

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.


Features 🌟

  • 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.

Getting Started

Installation ⚙️

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.

Uninstallation

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.


Example Usage

$ 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):

Contributing 🤝

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.

To-Do ✅

  • Add support for advanced commit manipulation.
  • Provide additional safety checks before force pushing.
  • Enhance logging and error messages.

License 📜

This project is licensed under the MIT License. See the LICENSE file for details.


Acknowledgments 🙌

  • Named after Gaia, symbolizing stability and foundation.
  • Built with ❤️ and Go.

About

CLI tool to seamlessly update the first commit message in a Git repository without manual intervention.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载