introduction
Hello ppl This is a smaple CLI to automate ragular git tasks, with many commands. it's build with bash so it's so compitalbe with liunx, I will provide how to setup it on Windows. I used NPM package to publish it, you can make your own, copy it and go a head
Requirements
- NPM
- GPG ( optional ) see how to install it on your OS https://docs.github.com/en/authentication/managing-commit-signature-verification/generating-a-new-gpg-key
installation
linux
-
sudo npm i -g cli-gite
why -g to use it everywhere - then install it
sudo ~/../../usr/local/lib/node_modules/cli-gite/install.sh
now you can use gite
windows
- [ ] not ready, stay tuned...
Features
- [
✔️ ] creating dir with init git - [
✔️ ] add remote - [
✔️ ] adding gpg key to your commits - [
✔️ ] push to any branch without do an adding just put your commit - [ ] short-hand push
- [
✔️ ] auto fetching if there's something to fetch
Commands
-
gite repo
to init dir with git and remote
-
gite push
-
pushing to spcific branch and automate fetching if there.
-
gite push origin main "commit"
a short hand from push with auto fetching detection
-
gite update
to install the last version
-
gite version
gite -v
Contributing
I welcome all contributions! Feel free to open an issue or submit a PR!
License
This project is licensed under MIT. Refer to LICENSE for more details.