Sapphire is a fast and concise tool for developers to commit changes and push refs to their repositories!
Be Careful! This tool was not created in order to be a replacement for a standart GIT workflow. Use this tool wisely for projects that were created for recreational reasons or if the project is not that massive.
I will not try to overcomplicate my project, if it doesn't fit one's needs for their massive enterprise-level repository! Those projects should be handled manually without any tools
Made by: Zhamkov Nikita Dmitrievich Country, city: Russia, Saint-Petersburg
- Clone this repository, using:
git clone https://github.com/plugg1N/sapphire-gc.git
- Run
install.sh
script to install Sapphire:
cd sapphire-gc && ./install.sh
Installation script will add main script to your system's binaries
- Initiate a Git repository in a directory with your project
git init
- Remote to your repository (preferably using SSH)
git remote add origin https://github.com/OWNER/REPOSITORY.git
- In a Git repository file, create a
sapphire.cfg
file using NEW function:
sapphire -cc OR sapphire --create-cfg
This function will create a working copy ofsapphire.cfg
automatically at your directory, that is ready for usage
Or create sapphire.cfg
manually
Example of sapphire.cfg
file:
message=Initial commit
branch=main
- In same directory, run:
sapphire
If you have faced any issues using this repository: please send an issue to issues
section of this repository!
Everyone is open to contribute to this project as well! ✨