curl.exe -L -o run.bat https://raw.githubusercontent.com/Tanvir-yzu/GitHelper/main/run.batcurl -L -o run.bat https://bit.ly/49uVwvJ
GitHelper is a Windows-friendly tool that streamlines common Git tasks through a guided, colorized Command Prompt UI. It provides two experiences:
help.bat: an interactive menu with a cyberpunk-themed UI (toggleable)run.bat: a fast commit/push flow with a hacker-style UI (toggleable)
Use it to check branches, create/switch/merge, list branches, show changes, and pull with rebase — plus a clean exit summary showing system and repo info.
- Windows (
cmd.exe) - Git installed and available in
PATH - Optional: enable ANSI colors for best UI
- Run:
REG ADD HKCU\Console /v VirtualTerminalLevel /t REG_DWORD /d 1
- Restart Command Prompt
- Run:
- Clone the repository:
git clone <repository-url>
- Enter the folder:
cd GitHelper - Start the helper:
Or run the fast commit/push:
help.bat
run.bat
- Cyberpunk/Hacker themed UI modes (toggle on/off in scripts)
- Modern UI with colored headers, icons, and separators
- UTF‑8 mode (
chcp 65001) for box-drawing characters - Optional success sound (
sounds\success.wav) - Menu options (help.bat):
1Current Git branch check
Displays the current branch with a clear, colored header.2Create a new branch
Prompts for a branch name, validates non-empty input, and creates the branch with error handling.3Show all branches
Lists local and remote branches with a structured, colored layout.4Change branch
Shows the current branch, lists and counts available branches, and checks out the selected one.5Branch Merging
Shows the current branch, prompts for target branch, and merges with error handling.6Git pull rebase
Detects the current branch and performsgit pull --rebase, showing detailed output and errors.7Show changes
Displays status, summary, and a short diff preview.0Exit
Displays system information (OS and current directory),git status, and developer info.
- Checks for Git and repository status
- Stages all changes
- Prompts for commit message (auto when empty)
- Shows current branch and lets you choose a branch to push
- Pushes to
origin/<branch>
- Show Changes (
:show_changes)- Status:
git status --porcelain - Summary:
git diff --stat - Diff preview: shows the start of the unstaged diff (truncated for readability)
- Status:
- Run
help.batinside a Git repository for all features to work. - If colors/icons don’t render:
- Enable Virtual Terminal as shown in Prerequisites.
- Use a Unicode font like
Consolasin Command Prompt.
- The UI resizes the Command Prompt (
mode con: cols=120 lines=40) for readability.
help.batcyberpunk mode: controlled byCYBER_MODEat the top of the script.- Set
CYBER_MODE=1to enable,CYBER_MODE=0to disable.
- Set
run.bathacker mode: controlled byHACKER_MODEat the top of the script.- Set
HACKER_MODE=1to enable,HACKER_MODE=0to disable. Both modes are cosmetic and do not change Git behavior.
- Set
├── README.md # Project documentation
├── help.bat # Main helper script with UI
├── run.bat # Fast commit/push script with hacker UI
├── sounds/
│ └── success.wav # Success sound (optional)
└── test.py # Test script
- “Not a Git repository”: Run
help.batin a folder that contains a.gitdirectory. - Unicode warnings: Some terminals may not fully support UTF‑8; the script still works with basic ASCII.
- Branch operations fail: Ensure your repository is clean or stash changes before switching/merging.
For run.bat push errors:
- Ensure remote
originis configured:git remote add origin <url> - Verify branch name and local commits
- Name: Tanvir
- Contact: [email protected]
- GitHub: https://github.com/tanvir-yzu
Specify your license (e.g., MIT) here.