cvmgit
Version:
Simple CLI tool to streamline git workflow.More updates coming soon.
79 lines (46 loc) • 2.49 kB
Markdown
<h1 align="center">CvmGit</h1>
<h2 align="center"> Initialize, commit, and push — all in one command.</h2>
<h2 align="center"> Updates</h2>
- The code has been made more organized and scalable to read and work with.
- The installation and running processes remain the same, but once the code is run using the default command:
```bash
cvmgit "Commit Message" "Repository URL" "Branch Name"
```
—the details are saved in a JSON file.
Next time, if the push is to the same repository and branch, only the following needs to be run:
```bash
cvmgit "Commit Message"
```
And if overwriting is needed, the full command can simply be typed again.
<h2 align="center">Badges</h2>


<h2 align="center">Technologies Used</h2>

<h2 align="center">Installation and Usage</h2>
- Install the Cvmgit package from npm
```bash
npm install -g cvmgit
```
- Run this command following the exact structure
```bash
cvmgit "Commit Message" "Repository URL" "Branch Name"
```
- Here is a dummy example
```bash
cvmgit "Initial commit" "https://github.com/your-username/your-repo.git" "main"
```
<h2 align="center">Procedure</h2>
- Initializes a Git repo (if not already)
- Adds all files
- Commits with your message
- Adds remote origin (skips if already exists)
- Pulls latest (if possible)
- Pushes to your specified branch
<h2 align="center">Important Notes</h2>
- Make sure your repo exists before running
- You must provide all three arguments
- Designed for simplicity — no extra config (yet)
- This is just an early version of the idea
<h2 align="center">Others</h2>
- Please adhere to the CODE_OF_CONDUCT. Thanks for the support.