/sapphire-gc

Modifiable Bash Script for Fast and Simple Commits to any GitHub repository for Linux systems

Primary LanguageShellMIT LicenseMIT

Sapphire ✨

my-gif

Your favourite commit tool for GitHub

https://github.com/plugg1N Ubuntu

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

Installation

  1. Clone this repository, using:
git clone https://github.com/plugg1N/sapphire-gc.git
  1. Run install.sh script to install Sapphire:
cd sapphire-gc && ./install.sh

Installation script will add main script to your system's binaries

How to use?

  1. Initiate a Git repository in a directory with your project
git init
  1. Remote to your repository (preferably using SSH)
git remote add origin https://github.com/OWNER/REPOSITORY.git
  1. 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
  1. In same directory, run:
sapphire

How to contribute?

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! ✨