Git Shortcuts is a tool developped using shell scripts which facilitates commits and push on a remote Github repository.
You can add your own commit types using the gitsc.conf file
How to add a commit type:
A commit type is composed of three elements :
- The type name,
- The emoji associated with the name (using the gitmoji sheet),
- A variable which can be set to add or remove and is used to determine if you are adding or deleting a file.
Here are the defaults commit type implemented :
Commit type | Description |
---|---|
[ADD] 🚀 | Deploying new code |
[MODIFY] ✨ | Modifying code |
[COD.STY] ⚡ | Improving performance |
[FIX] 🐛 | Fixing a bug |
[HANDLE] ✨ | Handling new features |
[INCLUDE] 🔧 | Modifying user defined headers |
[LIB] 🔧 | Modifying libraries files |
[REMOVE] 🔥 | Removing code or files |
[UNIT.TESTS] ✅ | Added tests |
[MERGE] 🔀 | Merging branches |
[DOCS] 📝 | Writing documentation |
Feel free to add your own commit types !!
gitsc [--all, .] [--help]
--all and .
Add or delete all modified and untracked files from your local repository to your remote repository.
--help
Redirect to this man page.
- Clone the repository in your home folder :
git clone https://github.com/Gradrien/Git-Shortcuts.git
- Launch install.sh with root privileges (note that root privileges are only used to install manual page)
./install.sh
- Changes will be applied when a new terminal is opened