ogito 0.4.0

A simple and efficient Git repository cloning management tool
Documentation

ogito🍸

Crates.io Version Crates.io License Crates.io Total Downloads

A simple and efficient Git repository cloning management tool. ogito allows you to quickly clone repositories to create a clean project.

Features

  • πŸš€ Fast cloning of GitHub repositories
  • 🧹 Create clean project copies
  • πŸ”„ Force mode to override existing directories
  • πŸ“Š Beautiful progress indicators and status feedback
  • πŸ’» User-friendly command line interface

install

# cargo

cargo install ogito


# npm

npm install -g ogito

Usage

# Basic usage

ogito <repository URL>

# Example

ogito https://github.com/user/repo


# Use specific direcotry name

ogito https://github.com/user/repo -d dirname


# Use force mode to override existing directory

ogito https://github.com/user/repo -d dirname -f


# Clone specific branch (you have to use --branch=branch_name or -b=branch_name for this option)

ogito https://github.com/user/repo --branch=branch_name

Command Line Options

  • [url] - Source file link
  • -d, --dir <DIRNAME> - Destination directory name
  • -m, --mode <MODE> - Operation mode (git or tar)
  • -f, --force - Force operation, override existing directory
  • --keep-history - Keep the history of the repository
  • -b --branch - Select specific branch to clone (you have to use -b=<branch_name> or --branch=<branch_name> for this option)

Contributing

Contributions are welcome! Feel free to submit issues and pull requests.

License

This project is open source under the MIT LICENSE.