gitcmd is a terminal-based tool designed to simplify the management of Git configurations and settings. It provides an interactive shell for executing Git commands and features a configuration setup wizard to customize your Git experience.
gitcmd is made for people of all experience levels! Whether you need help setting up your config, want some shortcuts, or need a terminal to help speed up your development, everyone can use it!
- Interactive Terminal: A custom shell (
git >) for running Git commands easily. - Configuration Wizard: Quickly set up and manage your Git configurations.
- User-Friendly Setup: Automatically creates a configuration file at
~/.config/gitcmd/configto store settings. - Command Line Support: Includes commands for setup, help, and launching the interactive terminal.
- Extendable Design: Built with modularity in mind, making it easy to add new features and commands.
- Clone the repository:
git clone https://github.com/DerekCorniello/gitcmd.git - Navigate to the project directory:
cd gitcmd - Build the project using Cargo:
cargo build --release - Add the executable to your
PATH:Replaceexport PATH=$PATH:/path/to/gitcmd/target/release/path/to/gitcmdwith the actual path to the project.
Simply do:
cargo install gitcmd
Run gitcmd from your terminal:
gitcmd
Starts the gitcmd terminal with a prompt (git >). Enter Git commands without the git prefix (e.g., add -A instead of git add -A).
setup: Launches the configuration wizard to create or update your gitcmd profile.gitcmd setuphelp: Displays usage instructions.gitcmd help
- Start the terminal:
gitcmd - Use commands like:
git > status git > commit -m "Initial commit"
By default, gitcmd creates a configuration file at ~/.config/gitcmd/config. This file is used to store settings for the tool. If the file already exists, the tool will not overwrite it unless explicitly instructed during setup.
Contributions are welcome! Feel free to fork the repository and submit pull requests to enhance gitcmd.
This project is licensed under the Apache2 License. See the LICENSE file for details.