Git Made Easy - One Command To Rule Them All
Project description
RUN-GIT - Git Made Easy ๐
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ โโโโโโโ โโโ โโโโโโโ โโโ โโโโโโโ โโโโโโโโโโโโ โ
โ โโโโโโโโโโโ โโโโโโโโ โโโ โโโโโโโโ โโโโโโโโโโโโ โ
โ โโโโโโโโโโโ โโโโโโโโโ โโโ โโโ โโโโโโโ โโโ โ
โ โโโโโโโโโโโ โโโโโโโโโโโโโ โโโ โโโโโโ โโโ โ
โ โโโ โโโโโโโโโโโโโโโ โโโโโโ โโโโโโโโโโโโ โโโ โ
โ โโโ โโโ โโโโโโโ โโโ โโโโโ โโโโโโโ โโโ โโโ โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ โก Git Operations Made Effortless โ
โ ๐ฏ One Command | Zero Hassle | Full Control โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Developer : Himanshu Kumar โ โ
โ โ GitHub : @himanshu231204 โ โ
โ โ Repository : github.com/himanshu231204/gitpush โ โ
โ โ Version : v1.0.6 โ โ
โ โ License : MIT โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Type 'run-git help' to get started โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
One Command To Rule Them All
RUN-GIT is the ultimate Git automation tool designed to make Git operations effortless for developers of all skill levels. Say goodbye to complex Git commands and hello to simplicity!
Created by Himanshu Kumar (@himanshu231204)
๐ฏ Features
- โก Quick Push: One command to add, commit, pull, and push
- ๐ค Auto Commit Messages: Intelligent commit message generation
- ๐ Interactive Conflict Resolution: Easy-to-use conflict handling
- ๐ฟ Branch Management: Create, switch, delete, and merge branches effortlessly
- ๐ Beautiful Status Display: Rich terminal UI with colors and tables
- ๐ Sensitive File Detection: Warns about .env, secrets, and credentials
- ๐จ Interactive Mode: Full TUI menu for all operations
- ๐ GitHub Repo Creation: Create repositories directly from command line or interactive menu
- ๐ Smart Push Retry: Automatic conflict resolution and retry mechanism
๐ฆ Installation
pip install run-git
๐ Quick Start
1. Initialize Repository
# New repository
run-git init
# Clone existing repository
run-git init https://github.com/user/repo.git
2. Quick Push (Most Common Use Case)
# Add, commit, pull, and push in one command!
run-git push
# With custom commit message
run-git push -m "Add new feature"
3. Interactive Mode
# Just type run-git for interactive menu
run-git
New in v1.0.6: Interactive menu now includes "Create New Repo"! ๐
? What would you like to do?
๐ Quick Push
โฏ ๐ Create New Repo โ Access repo creation here!
๐ฟ Branch Operations
๐ View Status/History
โ๏ธ Configuration
๐ง Advanced Tools
๐ Help & Docs
Exit
4. Create GitHub Repository
Two Ways to Create Repos:
Option 1: Interactive Menu (NEW!)
run-git
# Select "๐ Create New Repo"
# Follow guided prompts
Option 2: Command Line
# Quick mode with smart defaults
run-git new my-awesome-project --quick
# Interactive mode
run-git new my-project
๐ GitHub Repository Creation
Create GitHub repositories directly from your terminal without opening a browser!
โ๏ธ One-Time Setup
Before using repo creation, you need a GitHub Personal Access Token (only once):
Step 1: Create GitHub Token
- Go to: https://github.com/settings/tokens
- Click "Generate new token (classic)"
- Give it a name:
run-git-token - Select scopes:
- โ repo (Full control of private repositories)
- โ user (Read user profile data)
- Click "Generate token"
- Copy the token (starts with
ghp_...) โ ๏ธ You won't see it again!
Step 2: First Time Use
run-git new my-first-repo --quick
You'll be prompted:
โน๏ธ GitHub Personal Access Token needed!
โน๏ธ Create one at: https://github.com/settings/tokens
โน๏ธ Required scopes: repo, user
? Enter your GitHub token:
Paste your token (won't show while typing) and press Enter.
โ
Authenticated as: your-username
โ
GitHub token saved securely
That's it! Your token is now saved. You'll never be asked again! ๐
Token Storage
Token is securely stored in:
- Linux/Mac:
~/.run-git/config.yml - Windows:
C:\Users\YourName\.run-git\config.yml
File permissions are set to user-only (600) for security.
๐ก Creating Repositories
Method 1: Interactive Menu (Recommended for Beginners)
run-git
Select "๐ Create New Repo" from the menu.
You'll be guided through:
- Repository name
- Description
- Public or Private
- Gitignore template (auto-detected!)
- License selection
- README creation
Full interactive experience with beautiful UI! โจ
Method 2: Quick Mode CLI
# Create repo with smart defaults
run-git new my-awesome-project --quick
What it does:
- โ Detects language from your files (Python, Node, Java, etc.)
- โ Creates .gitignore automatically
- โ Adds MIT license
- โ Generates professional README
- โ Makes repository public
- โ Pushes to GitHub
- โ All in 5 seconds!
Method 3: Interactive CLI
# Answer questions for each option
run-git new my-project
Method 4: Full Command Line
# Specify everything upfront
run-git new my-api \
--description "REST API for my app" \
--public \
--gitignore Python \
--license MIT
๐ Available Options
| Option | Description |
|---|---|
--quick |
Use smart defaults, no prompts |
-d, --description |
Repository description |
--public |
Make repository public (default) |
--private |
Make repository private |
-g, --gitignore |
Gitignore template (Python, Node, Java, etc.) |
-l, --license |
License (MIT, Apache-2.0, GPL-3.0, BSD, ISC) |
--no-readme |
Skip README creation |
๐ฌ Example Workflow
# Create new project folder
mkdir my-web-app
cd my-web-app
# Add some files
echo "print('Hello')" > app.py
echo "flask" > requirements.txt
# Create repo via interactive menu
run-git
# Select "๐ Create New Repo"
# OR use CLI quick mode
run-git new my-web-app --quick
Output:
โ
Using smart defaults...
โน๏ธ Language detected: Python
โน๏ธ License: MIT
โน๏ธ Visibility: Public
โณ Creating repository on GitHub...
โ
Repository created: https://github.com/you/my-web-app
โณ Initializing local repository...
โ
.gitignore (Python) created
โ
LICENSE (MIT) created
โ
README.md created
โณ Setting up main branch...
โณ Pushing to GitHub...
โ
Repository pushed successfully!
๐ Repository created successfully!
๐ https://github.com/you/my-web-app
Your repo is LIVE on GitHub! ๐
๐ Smart Push with Automatic Retry (NEW in v1.0.6)
Repository creation now includes intelligent push handling:
- Automatic Branch Management: Always uses
mainbranch - Conflict Auto-Resolution: Syncs with remote if there are conflicts
- Retry Logic: Attempts multiple strategies to push successfully
- Graceful Failure: Clear instructions if manual intervention needed
Example:
โณ Pushing to GitHub...
โ ๏ธ Push failed. Attempting to sync with remote...
โ
Repository synced and pushed successfully!
๐ Usage
Basic Commands
# Push changes
run-git push
# View status
run-git status
# View commit history
run-git log
# Branch operations
run-git branch # List branches
run-git branch feature-x # Create branch
run-git switch main # Switch branch
run-git merge feature-x # Merge branch
# Remote management
run-git remote # Show remotes
run-git remote origin --add https://github.com/user/repo.git
# Advanced
run-git pull # Pull changes
run-git sync # Pull + Push
run-git stash # Stash changes
run-git undo # Undo last commit
๐ค Auto Commit Messages
RUN-GIT generates intelligent commit messages based on your changes:
feat: add authentication module (3 added)fix: update user validation (2 modified)docs: update README (1 modified)refactor: remove deprecated code (2 deleted)
๐ฏ Use Cases
For Beginners
- No need to remember complex Git commands
- Interactive menus guide you through operations
- Auto-generated commit messages
- Create GitHub repos without leaving terminal
- Built-in help and guidance
For Experienced Developers
- Fast one-command push workflow
- Customizable commit messages
- Time-saving automation
- Quick repo creation for new projects
- Smart conflict resolution
๐ Command Reference
| Command | Description |
|---|---|
run-git |
Interactive mode (with Create Repo option!) |
run-git push |
Quick push (add, commit, pull, push) |
run-git new <n> |
Create new GitHub repository |
run-git init |
Initialize repository |
run-git status |
Show repository status |
run-git log |
Show commit history |
run-git branch |
List branches |
run-git switch <n> |
Switch branch |
run-git merge <n> |
Merge branch |
run-git remote |
Show remotes |
run-git pull |
Pull changes |
run-git sync |
Pull and push |
run-git stash |
Stash changes |
run-git undo |
Undo last commit |
run-git --help |
Show help |
run-git --version |
Show version |
๐ง Troubleshooting
Token Issues
Q: I lost my token, how do I create a new one?
A: Delete the saved token and run any repo creation command:
# Linux/Mac
rm ~/.run-git/config.yml
# Windows
del %USERPROFILE%\.run-git\config.yml
# Then run
run-git new test-repo --quick
Q: How do I update my token?
A: Same as above - delete the config file and enter a new token.
Q: Is my token secure?
A: Yes! The token is:
- Stored locally on your machine only
- File permissions set to user-only (600)
- Never transmitted except to GitHub's official API
- Can be revoked anytime from GitHub settings
Push Issues
Q: What if push fails?
A: RUN-GIT automatically:
- Attempts standard push
- If fails, syncs with remote using
--allow-unrelated-histories - Retries push
- If still fails, provides manual instructions
Q: Repository created but push failed?
A: You can manually push:
git push -u origin main
๐ค Contributing
Contributions are welcome! Please see CONTRIBUTING.md for details.
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐จโ๐ป Author
Himanshu Kumar
- GitHub: @himanshu231204
- Created with โค๏ธ for the developer community
๐ Show Your Support
If you find RUN-GIT helpful, please:
- โญ Star the repository
- ๐ Report bugs
- ๐ก Suggest new features
- ๐ Contribute code
๐ Why RUN-GIT?
The Problem
Git is powerful but complex. Beginners struggle with:
- Remembering command sequences
- Handling merge conflicts
- Writing good commit messages
- Managing branches
- Creating GitHub repositories
- Dealing with push failures
The Solution
RUN-GIT provides:
- โ One command for common workflows
- โ Interactive conflict resolution
- โ Auto-generated commit messages
- โ Beautiful terminal UI
- โ Safety features
- โ Zero learning curve
- โ One-command GitHub repo creation
- โ Interactive menu for easy access
- โ Smart push retry mechanism
๐ What's New in v1.0.6
๐ New Features
- Interactive Menu Integration: Create repos directly from
run-gitinteractive menu - Smart Push Retry: Automatic conflict resolution and retry on push failures
- Better Branch Management: Ensures
mainbranch naming consistency
๐ง Improvements
- Enhanced push reliability with automatic sync
- Better error messages and recovery options
- Improved file staging mechanism
- More robust conflict handling
๐ Bug Fixes
- Fixed push failures when remote has diverged
- Improved error handling for repository state conflicts
- Better handling of branch naming inconsistencies
Made with โค๏ธ by Himanshu Kumar | Making Git Easy for Everyone
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file run_git-1.0.6.tar.gz.
File metadata
- Download URL: run_git-1.0.6.tar.gz
- Upload date:
- Size: 32.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9725923b7f59c2a73c0d14b0f8b92e6c1290211daa67be7f707ad788635aca37
|
|
| MD5 |
ea84ca813352c3b556373d80dabc1b62
|
|
| BLAKE2b-256 |
98e5c6a7913d27e024a80e726ec643dd19081642f0014507d7e189a534e0196a
|
File details
Details for the file run_git-1.0.6-py3-none-any.whl.
File metadata
- Download URL: run_git-1.0.6-py3-none-any.whl
- Upload date:
- Size: 28.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1440160cefd3a3e17911c331b236c94dc666e4eaf3df33cffa5acca4789ead9f
|
|
| MD5 |
8c32640cecb3a3f0fdc9e0f641327650
|
|
| BLAKE2b-256 |
5c5999f8bbd05e1f6b35af49653589d32ee663d3d3a0c35b7961bf415e148557
|