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.9 โ โ
โ โ 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 from CLI or interactive menu
- ๐ Smart Folder Detection: Automatically detects existing files and asks for confirmation
- ๐ Existing Repo Support: Connect existing local repos to GitHub
- ๐ง Intelligent Remote Management: Handles existing remotes gracefully
- ๐ Enhanced Push Reliability: Fixed URL issues, token auth, auto-retry
๐ฆ 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.7: Smart folder detection and existing repo support! ๐
๐ v1.0.7: Smart Repository Creation
๐ฏ What's New
1. Smart Folder Detection ๐
RUN-GIT now detects existing files before creating a repository!
cd my-existing-project # Folder with existing files
run-git
# Select "๐ Create New Repo"
Output:
๐ Found 10 file(s) in current folder:
โข app.py
โข requirements.txt
โข config.json
โข utils.py
โข models.py
... and 5 more
? Create repository and include these files? (Y/n)
Benefits:
- โ See what files will be included
- โ Prevent accidental commits
- โ Full transparency before creating repo
2. Existing Repository Support ๐
Already have a local git repo? Connect it to GitHub!
cd my-git-project # Already initialized with git
run-git
# Select "๐ Create New Repo"
Output:
โ ๏ธ This directory is already a git repository!
โน๏ธ Remote: None
? Connect this existing local repo to new GitHub repository? (Y/n)
Benefits:
- โ Preserves existing git history
- โ Connects to new GitHub repo
- โ No need to re-initialize
3. Smart Remote Management ๐
Handles existing remotes intelligently!
โ ๏ธ Remote 'origin' already exists
? Replace existing remote 'origin' with new repository? (Y/n)
Benefits:
- โ Never accidentally overwrites remotes
- โ Clear confirmation before changes
- โ Option to keep existing setup
4. File Conflict Prevention ๐
Never overwrites your existing files!
โน๏ธ .gitignore already exists, skipping...
โน๏ธ LICENSE already exists, skipping...
โน๏ธ README.md already exists, skipping...
Benefits:
- โ Preserves your custom configurations
- โ Clear messages about what's skipped
- โ Safe operations always
5. Fixed Push Issues ๐ง
Resolved "protocol 'https' is not supported" error!
What was fixed:
- โ Clean URL formatting (removes invisible characters)
- โ Token-based authentication
- โ Better Windows compatibility
- โ Enhanced error messages
๐ก Use Cases
Scenario 1: New Empty Project
mkdir new-app
cd new-app
run-git new my-app --quick
Result: Fresh repo with all files! โ
Scenario 2: Existing Project with Files
cd my-existing-app # Has 20 files
run-git
# Select "Create New Repo"
# Confirms: "Found 20 files, include them?"
# You: Yes
Result: All files pushed to new GitHub repo! โ
Scenario 3: Already a Git Repo (No Remote)
cd my-git-project # Already has .git
run-git
# "Connect existing repo to GitHub?"
# You: Yes
Result: Existing repo connected to GitHub! โ
Scenario 4: Has Remote Already
cd project-with-remote
run-git
# "Replace existing remote?"
# You: Yes/No
Result: Handled gracefully! โ
๐ GitHub Repository Creation
โ๏ธ One-Time Setup
Step 1: Create GitHub Token
- Go to: https://github.com/settings/tokens
- Click "Generate new token (classic)"
- Name:
run-git-token - Scopes: โ repo + โ user
- Generate and copy token
Step 2: First Time Use
run-git new my-first-repo --quick
Paste token when prompted. Saved forever! ๐
๐ก Creating Repositories
Method 1: Interactive Menu (Recommended)
run-git
Select "๐ Create New Repo"
Features:
- ๐ Shows existing files
- ๐ Handles existing repos
- ๐ Manages remotes
- โ Confirms every step
Method 2: CLI Quick Mode
run-git new my-project --quick
Method 3: CLI Interactive
run-git new my-project
Method 4: Full Command
run-git new my-api -d "REST API" --public -g Python -l MIT
๐ 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
# 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:
feat: add authentication module (3 added)fix: update user validation (2 modified)docs: update README (1 modified)refactor: remove deprecated code (2 deleted)
๐ Command Reference
| Command | Description |
|---|---|
run-git |
Interactive mode with Create Repo |
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
Common Issues
Q: "protocol 'https' is not supported" error?
A: Fixed in v1.0.7! Update to latest version:
pip install --upgrade run-git
Q: Push fails after repo creation?
A: v1.0.7 includes automatic retry with token authentication. Should work now!
Q: Already have files in folder?
A: v1.0.7 detects them and asks for confirmation. Safe to use!
Q: Already a git repo?
A: v1.0.7 can connect it to GitHub. Just confirm when asked!
๐ค 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
๐ What's New in v1.0.7
๐ Major Features
- Smart Folder Detection: See existing files before creating repo
- Existing Repo Support: Connect local repos to GitHub
- Smart Remote Management: Handle existing remotes gracefully
- File Conflict Prevention: Never overwrites existing files
๐ง Critical Fixes
- Fixed "protocol 'https' is not supported" error
- Better URL handling with whitespace removal
- Token-based push authentication
- Enhanced error recovery
๐ฏ Improvements
- Context-aware commit messages
- Better user confirmations
- Clearer progress messages
- More robust push mechanism
๐ Bug Fixes
- Fixed push failures on Windows
- Fixed URL malformation issues
- Better handling of existing git repos
- Improved remote conflict resolution
๐ Why RUN-GIT?
The Problem
Git is powerful but complex. Developers struggle with:
- Remembering command sequences
- Handling merge conflicts
- Writing good commit messages
- Managing branches
- Creating GitHub repositories
- Dealing with existing projects
- Push failures and errors
The Solution
RUN-GIT provides:
- โ One command for common workflows
- โ Interactive menus for guidance
- โ Auto-generated commit messages
- โ Beautiful terminal UI
- โ Smart folder detection
- โ Existing repo support
- โ Automatic error recovery
- โ Zero learning curve
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.9.tar.gz.
File metadata
- Download URL: run_git-1.0.9.tar.gz
- Upload date:
- Size: 32.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8046e2106d6e69a363760285c1020a6805b46cd70fb84cf1e94261c7dec2245
|
|
| MD5 |
3cc01de320b86491f046645bd6b68816
|
|
| BLAKE2b-256 |
fe1d9ac18e6f1f82ed59e463583b8fe0742c95b6a8e189172167b085a3bb5c2d
|
File details
Details for the file run_git-1.0.9-py3-none-any.whl.
File metadata
- Download URL: run_git-1.0.9-py3-none-any.whl
- Upload date:
- Size: 28.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b2c6a04b6357cbc47e9f81b5f4276a61143905aaa1aeecf431f3c79ca031dd5
|
|
| MD5 |
4f3af5f4d868259a423af2669434c253
|
|
| BLAKE2b-256 |
dea1a5aaf106e262431a4769578d7e4190998854261c2c5c04aa464e7eb0dac4
|