Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Sapphire Clone Script

Sapphire Clone Script

πŸ“œ Description

Sapphire Clone Script is a Bash script that allows users to easily clone or delete repositories related to the Sapphire project. The script also provides options to use SSH or HTTPS for cloning and allows users to choose whether to use --depth 1 for shallow cloning.

πŸš€ Features

  • βœ… Clone or delete repositories with a simple choice.
  • πŸ” Option to use SSH or HTTPS for GitHub.
  • ⚑ Supports --depth 1 for faster cloning.
  • πŸ“Έ Option to include MIUI Camera repositories.

πŸ“Œ Usage

  1. Give execute permission to the script:
    chmod +x sapphire_clone.sh
  2. Run the script:
    ./sapphire_clone.sh
  3. Follow the prompts:
    • Choose whether to clone or delete repositories (c/d).
    • Select SSH or HTTPS for cloning (y/n).
    • Decide whether to use --depth 1 (y/n).
    • Choose whether to clone MIUI Camera (y/n).

πŸ”„ Updating the Script

If you have already cloned the repository and want to update to the latest version, run the following commands:

git init  # Initialize Git if not already initialized
git remote add origin https://github.com/Angelpro09xd/Sapphire-Clone-Script
git fetch origin
git reset --hard origin/main  # Or the branch you are using

πŸ“‚ Repositories Used

This script uses repositories from the following sources:

πŸ‘₯ Credits

This script was created by Angelpro09xd. Special thanks to the maintainers of the repositories used in this script.

πŸ“ License

This project is open-source and available under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages