Skip to main content

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.7                                   โ”‚   โ”ƒ
โ”ƒ   โ”‚  License      : MIT                                      โ”‚   โ”ƒ
โ”ƒ   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”ƒ
โ”ƒ                                                                    โ”ƒ
โ”ƒ   Type 'run-git help' to get started                              โ”ƒ
โ”ƒ                                                                    โ”ƒ
โ•ฐโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•ฏ

PyPI version Downloads Tests Python 3.8+ License: MIT

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

  1. Go to: https://github.com/settings/tokens
  2. Click "Generate new token (classic)"
  3. Name: run-git-token
  4. Scopes: โœ… repo + โœ… user
  5. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

run_git-1.0.8.tar.gz (32.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

run_git-1.0.8-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file run_git-1.0.8.tar.gz.

File metadata

  • Download URL: run_git-1.0.8.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

Hashes for run_git-1.0.8.tar.gz
Algorithm Hash digest
SHA256 978e1a126bbfb5891721d52940c8ccd6c952c47831a71f32ab1af1239bca6558
MD5 c7d51399584b5c239d84e757bf34a56a
BLAKE2b-256 7cfd4a3b3d820c8d6ff1d8d642a1fcceaefc8df247f8961b6a2023e4ef0c1add

See more details on using hashes here.

File details

Details for the file run_git-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: run_git-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for run_git-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b6c91b595ac25561eb9d46aecd38845d44d8d362ee118de59109b8a4cb323e69
MD5 ad7ddf3ee39f5125a96efcceb37d78f8
BLAKE2b-256 78e3798949e099215eb647548347cee273542d3a86871abd3661bcf39b34a923

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page