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.5                                   โ”‚   โ”ƒ
โ”ƒ   โ”‚  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 directly from command line (NEW!)

๐Ÿ“ฆ 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

4. ๐Ÿ†• Create GitHub Repository (NEW!)

# Create a new repo with smart defaults
run-git new my-awesome-project --quick

# Interactive mode with all options
run-git new my-project

๐Ÿ†• NEW Feature: GitHub Repository Creation

Create GitHub repositories directly from your terminal without opening a browser!

โš™๏ธ One-Time Setup

Before using run-git new, you need a GitHub Personal Access Token (only once):

Step 1: Create GitHub Token

  1. Go to: https://github.com/settings/tokens
  2. Click "Generate new token (classic)"
  3. Give it a name: run-git-token
  4. Select scopes:
    • โœ… repo (Full control of private repositories)
    • โœ… user (Read user profile data)
  5. Click "Generate token"
  6. 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.


๐Ÿ’ก Using run-git new

Quick Mode (Recommended for Speed)

# 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!

Interactive Mode (Full Control)

# Answer questions for each option
run-git new my-project

You'll be asked:

  • Repository description
  • Public or Private
  • Gitignore template (160+ languages supported!)
  • License (MIT, Apache, GPL, BSD, etc.)
  • Create README?

Command Line Options

# 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 (auto-detects Python!)
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
โœ… .gitignore (Python) created
โœ… LICENSE (MIT) created
โœ… README.md created
โœ… Pushed to GitHub
๐ŸŽ‰ Repository created successfully!
๐Ÿ”— https://github.com/you/my-web-app

Your repo is LIVE on GitHub! ๐Ÿš€


๐Ÿ“– 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

For Experienced Developers

  • Fast one-command push workflow
  • Customizable commit messages
  • Time-saving automation
  • Quick repo creation for new projects

๐Ÿ“š Command Reference

Command Description
run-git Interactive mode
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 run-git new 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

๐Ÿค 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

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

๐Ÿ“ˆ What's New in v1.0.4

๐Ÿ†• New Features

  • GitHub Repository Creation: Create repos from terminal with run-git new
  • Smart Language Detection: Auto-detects Python, Node, Java, Go, Rust, and 160+ languages
  • Auto .gitignore: Generates language-specific .gitignore files
  • License Support: MIT, Apache, GPL, BSD, ISC licenses
  • One-time Token Setup: Secure token storage for seamless workflow

๐Ÿ› Bug Fixes

  • Improved error handling
  • Better token validation
  • Enhanced cross-platform compatibility

๐Ÿ”ง Improvements

  • Faster repository creation
  • Better user prompts
  • Improved documentation

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.5.tar.gz (30.3 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.5-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: run_git-1.0.5.tar.gz
  • Upload date:
  • Size: 30.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for run_git-1.0.5.tar.gz
Algorithm Hash digest
SHA256 728347e1b0310a36f54ae71117ce8dea6641011bc873e40ef668ed56f0bf0eb2
MD5 e7f2bc84237c9624736f95d5184631ff
BLAKE2b-256 30cb0f670050600308083a292d43e49d1abac543131ab5f6a9fbebc5bf94a090

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for run_git-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fd4d0c625f620459bd7fd5cf9fdbed036715f5a33ef6fc6ea14287e25003ae0f
MD5 3c30a1ab97ca55f74035081714a390c9
BLAKE2b-256 fa2653b16840b9c5f6be1f0b5791d55bbf01b3125783fb72409e0a1f9aa0e668

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