Repository navigation
Releases
rgit v2.0.0
rgit 2.0
git, without the ceremony. Now native on Windows, Linux and macOS.
rgit 2.0 is a complete rewrite in Go. rgit 1.x was a collection of Bash scripts, so it only ran
inside Git Bash or a Unix shell. rgit 2.0 is a single, self-contained executable. It runs
natively in Command Prompt, PowerShell, Windows Terminal, Git Bash, and any Linux or macOS shell,
with no runtime dependencies beyond git itself.
Along the way, every 1.x command was rethought, more than a dozen bugs were fixed, and rgit gained
ten new commands.
$ rgit push "Add dark mode"
• 3 changed files:
modified src/theme.css
modified src/app.js
new src/dark.css
? Stage all of these changes? [Y/n]
✓ Committed 4f1e02f Add dark mode
› Pulling latest changes from origin/main
› Pushing main
✓ Pushed main to origin/main
⬇️ Download
| Platform | File |
|---|---|
| Windows 10/11 (recommended) | rgit-windows-x64-setup.exe: the installer |
| Windows (portable) | rgit-windows-x64.exe: no installation needed |
| macOS, Apple Silicon | rgit-macos-arm64 |
| macOS, Intel | rgit-macos-x64 |
| Linux, x64 | rgit-linux-x64 |
| Linux, ARM64 | rgit-linux-arm64 |
| Checksums | SHA256SUMS.txt |
On Linux and macOS, install with a single command. The script detects your system, verifies the
checksum, and puts rgit on your PATH:
curl -fsSL https://raw.githubusercontent.com/ettisafxrup/rgit/main/scripts/install.sh | shOn Windows, run the installer and choose Install for me only (no administrator rights needed)
or Install for all users. Then open a new terminal and run rgit doctor.
With Go 1.24+: go install github.com/ettisafxrup/rgit/cmd/rgit@latest
rgit needs git 2.23 or newer on your PATH.
✨ Highlights
🪟 Runs everywhere, natively
One executable for each platform, with no Bash, WSL or extra runtime required. Colors and symbols
render correctly in the classic Windows console, and NO_COLOR is respected everywhere.
😎 A Smarter rgit push
In one command, rgit push initializes the repository, connects a remote (the GitHub shorthand
owner/repo works), shows your changes, stages them, commits, rebases onto the remote and pushes.
It now matches the remote's default branch (main, master, trunk…), so your first push to a
repository created with a README on GitHub just works.
🛡️ Safe by Default
- Pulls always use
--rebase --autostash, so uncommitted work is never lost. - rgit asks before staging, overwriting files or deleting branches.
renamepushes the new branch before deleting the old one on the remote.undowarns you when the commit you are undoing has already been pushed.
😯 New Commands
| Command | What it does |
|---|---|
rgit status |
Shows the branch, ahead/behind counts, the last commit, every change and your stashes on one screen |
rgit sync |
Pulls remote changes, then pushes your commits |
rgit undo |
Undoes the last commit and keeps its changes staged |
rgit log |
Shows a compact, colorful commit graph |
rgit new |
Creates a branch and switches to it |
rgit switch |
Switches branches, with an interactive picker |
rgit clone |
Clones with the owner/repo shorthand |
rgit open |
Opens the repository, or the current branch, in your browser |
rgit doctor |
Checks your setup and suggests a fix for every problem |
rgit version |
Prints the version, platform and Go runtime |
😏 Better Project Scaffolding
rgit ignorehas 12 presets:go,node,python,java,rust,dotnet,cpp,
windows,macos,linux,vscodeandjetbrains. It also accepts custom patterns and never
writes duplicates.rgit licenseoffers 10 licenses and can run without any prompts:
rgit license mit --name "Jane Doe".rgit readmefills in your GitHub details from the remote and adds a project tree.rgit archibuilds a tree that follows your.gitignore. It also supports--depthand
--print.
☺ A friendlier command line
- Typos get suggestions:
rgit psuhasks did you mean "push"? rgit help <command>shows details and examples for any command.--yesaccepts every default, which makes rgit easy to use in scripts.- Flags work anywhere on the line, and exit codes are meaningful (
0success,1error,2
usage).
💿 A proper Windows installer
- Install per user or for all users.
- rgit is added to your PATH automatically and removed from it cleanly on uninstall.
- An optional Start menu shortcut is available.
- Silent install is supported:
/VERYSILENT /CURRENTUSER.
🕊 A new look
There's a new logo too: the "r" is drawn as a git branch, in amber on deep navy. The project also
has a new website in the same colors.
😋 Fixed since 1.x
- rgit now runs in Command Prompt and PowerShell, not only in Git Bash.
pushno longer asks you to type a different branch name after committing.- New repositories no longer assume
mainwhen the remote uses another default branch. - The first push to a remote that already has commits no longer fails.
- An empty commit no longer aborts the whole push.
- Repositories are detected from any subfolder, not only from the root.
renameworks with any remote name, not justorigin, and never deletes the remote branch
before the new one exists.cleanupdetects the base branch instead of assumingmain. It no longer deletes branches whose
names merely contain "main", and it no longer errors when there is nothing to clean.ignoreno longer adds.gitignoreto itself.licenseworks with names that contain/or&.readmeandlicenseask before overwriting existing files.readmeno longer writes anARCHITECTUREfile as a side effect, and typos in its generated
text are fixed.- Help texts are corrected, error messages go to stderr, and failures return a non-zero exit code.
✊ Upgrading from 1.x
Run the new Windows installer. Your commands keep the same names.
- An all-users installation removes the old shell-based version automatically.
- A per-user installation reminds you to remove it from Settings → Apps. Please do,
because otherwise the old script can take precedence over the new executable in Git Bash.
rgit userinfo still works as an alias of the new rgit whoami.
📝 Good to Know
- The macOS binaries are not notarized. If you download them manually, allow them once with
xattr -d com.apple.quarantine /usr/local/bin/rgit. The install script does this for you. - rgit calls your installed git rather than reimplementing it. Your credential helpers, SSH keys,
hooks and aliases keep working exactly as before. - Verify your downloads with
sha256sum -c SHA256SUMS.txt --ignore-missing.
Found a bug or have an idea? Open an issue. Contributions are very welcome.
rgit is free software under the MIT License.
rgit v1.1.0
📦 Current Version: v1.1.0
🤷♀️ Patch update: Minor bug fixes
✨ New Features: rgit readme, rgit archi, rgit license
🔄 Improved: updated gitignore generation (rgit ignore)
🦋 Features
🕶 Simplified Git command aliases
🎒 Ready-made resources for project initialization.
🎨 Color‑coded terminal output for better readability
🔒 Interactive prompts for safer operations
🔧 Easily extendable with custom scripts
