r/git • • 5h ago

Schlorp - A Git GUI that makes everything better

Post image
320 Upvotes

I made a Git GUI that does everything better by adding extra steps to every command. Installing it is very simple. You simply run make and it will automatically install 6000 dependencies. It's called schlorp because I wanted a name that reflects the unique nature of the program.

The code is 100% opensource, and to make it easier to audit, everything is in a single commit with 75000 lines of code.


r/git • • 32m ago

I built a "Spotify Wrapped" for my Git history.

Post image
1 Upvotes

I spend most of my day in Git, so I wanted to know what my year actually looked like. I added a small year-in-review to the Git client I've been working on, and this is my card.

It only reads local Git history, nothing else (no GitHub API, no diffs uploaded anywhere).

  • It walks every local and remote branch of the repos you pick, keeps your own non-merge commits for the calendar year, and dedupes commits that show up in several clones of the same repo.
  • Hours use the author's own timezone offset from the commit, not the machine's. My 4 PM peak is really 4 PM where I was.
  • For the "latest commit", the day wraps at 5 AM, so a 3 AM commit counts as a late night, not an early morning.
  • Main language comes from name-only tree diffs (file extensions, ignoring lockfiles and generated stuff). It never reads patch contents.
  • Teammates come from authors and Co-authored-by trailers, with AI tools and bots filtered out.

Curious what other people would want in something like this.


r/git • • 2h ago

How often should I commit my changes?

1 Upvotes

I am fairly new to programming and git and I was just wondering how often I should commit my changes both locally and to Github? I feel like I'm doing it to often


r/git • • 6h ago

I made an open source Git UI with Rust based.

0 Upvotes

Hello,

this is my first time posting Reddit.
Could look bit advertising, but i wish this could be only place that could make my application bit better.

https://margin.scooop.cc/

I made Rust-based Git client.

It's free, no cost, and all platform supported (Windows, Linux, MacOS)

Used many git clients and CLI in my dev career, and kinda not satisfied to all.

There are so many self-developed application these days (AI slops we say)

My application could be same to you guys, but it's my first earnest client development (been working as Server Engineer)

I focused on super light, simple UI with bit of functions that i mostly use.

Also self-reviewed & made some code architecture document for easier contribution

https://github.com/wiggleji/margin/blob/main/CONTRIBUTING.md

Here's some features i made inside

- Github integration for PR, CI build

- Jira ticket relation

- Note function for my task tracking

- branch pruning for branches, worktrees

- added some MCP so that agents could access all functions (writing notes, branch pruning)

I'm keep working on it

so hope could be useful for anyone

Thank you


r/git • • 14h ago

A fast code editor on web and git client with best UX aspects from Jetbrains IDEs

0 Upvotes

I had over 100 PRs to review, and working locally in an IDE trying to pull the branches and going over code or trying to read all the diffs on github takes so long for this era.

So I built this and already reviewed over 20 PRs line by line in the last 2 days.

Open any github repo, branch or PR or one or multiple local folders to compare in them

Give it a go and let me know how it works for you and if you would like to see something new - https://jetdiff.com

Open source on github - https://github.com/repalash/jetdiff


r/git • • 17h ago

I made a git client with a nice GUI that runs also on remote machines over SSH

0 Upvotes

I work more and more on other machines and not just on my laptop, machines where coding agents run.

I wanted a GUI for them without mounting the filesystem or installing a server like VS Code Remote-SSH does.

How it works: the app sends the same git commands it would run locally through one shared SSH connection (ControlMaster), so each command is one round trip and no new handshake.

The host only needs git and a POSIX shell. It polls the repository, so changes made on the host show up after a few seconds.

The app is gitto (https://gitto.app). I built it and it's paid, with unlimited trial, for macOS, Linux and Windows. Written in rust.

I'd love to get feedback and opinions!


r/git • • 1d ago

How do you stop crawlers from filling your Forgejo/Gitea disk with repo archives?

Thumbnail bufferoverride.com
0 Upvotes

r/git • • 1d ago

GIT was deleted by itself

0 Upvotes

I am using codex and VSCode. All of a sudden while working I could not find git. I checked the Git main folder and it was deleted by itself. This happened to my colleagues as well.


r/git • • 2d ago

Enable or disable merge.autoStash and rebase.autoStash?

8 Upvotes

I had these set to true before and it worked like magic and I've never given it much thought.

Now I'm thinking if I really want it to do that or if I should be doing it manually. Is there a reason why one might want this to remain as false?


r/git • • 2d ago

Is my Git Bugged/Hacked or its normal.

Thumbnail gallery
0 Upvotes

Is my git hacked or is it normal it's the first time I am seeing this.


r/git • • 2d ago

tutorial Fuck, Gitkraken doesn't open private repo's anymore without a paid licence.

Post image
0 Upvotes

r/git • • 2d ago

We built an open-source Git server in Rust. What happens when two pushes race?

0 Upvotes

We built Dengel Git because we wanted a Git server we could run ourselves and a predictable way to handle pushes from several agents working on the same repo. It speaks Git’s smart HTTP protocol, so stock Git can clone, fetch and push. The standalone server is AGPL-3.0-or-later and runs locally without an account.

The interesting bit is the ref update. If two clients push with the same expected old object ID, the server checks that ID while holding the ref lock. Once one push moves the ref, a push based on the old ID fails. The conformance suite also checks that a rejected atomic push leaves the other refs untouched.

There’s a more mundane collision we had to handle too. Team/demo.git and team/demo.git would resolve to the same address, so the server refuses to start if both are in its repository catalog.

The diagram shows the hosted workflow we built around the standalone server. An agent pushes a candidate, and checks run on that exact commit. The Dengel CLI lets you submit a pushed candidate from the terminal, inspect its status and read the signed receipt. An agent can use MCP to submit a proposal, check its status and see when it needs a human decision. A person still decides what lands.

The source and local quickstart are at https://github.com/dengel-dev/dengel-git

If you’ve worked on Git’s receive side, what failure case would you add to the conformance suite?


r/git • • 2d ago

GitHub alternatives: Forgejo, Codeberg, Tangled and cgit – what's your experience?

Thumbnail reddit.com
0 Upvotes

r/git • • 3d ago

support .gitignore blacklist and whitelist on multilevels

0 Upvotes
  1. including many config files in ~/
  2. .gitignore is under ~/, that is, ~/.gitignore
  3. many of them are dotfiles, and dot directories
  4. ignore everything under .local/share/
  5. but include .local/share/nemo/scripts/*
  6. to be specific, .local/share/nemo/* other than scripts/ is still ignored.
  7. Does .gitignore have to be this ugly?
# ignore all first
*

# dotfiles and dot directories in root folder
!/.**


# ignore everything under .local/share/
# but unignore .local/share/nemo/scripts/
.local/share/*
!/.local/share/nemo/
/.local/share/nemo/*
!/.local/share/nemo/scripts/

r/git • • 3d ago

A terminal app for GitHub that feels like opening a repo in your browser.

Thumbnail github.com
0 Upvotes

r/git • • 3d ago

GitDesk: a native Git client with line-level staging that runs your own git, and exactly what it runs

0 Upvotes

I built GitDesk, a free desktop Git client for Windows, macOS and Linux in the style of GitHub Desktop. It has no Git library inside: every action runs the git you already have, so your config, hooks and credential helper all apply.

Repo: https://github.com/Jarvis095/GitDesk (MIT)

Since this is r/git, here is what it actually does under the hood:

Staging. By file, hunk or single line. A hunk or line is staged by building a patch from the displayed diff and feeding it to git apply --cached; discarding a hunk uses git apply --reverse. Diffs are taken with --no-ext-diff --no-textconv, and with explicit a/ and b/ prefixes so a diff.noprefix setting does not break the patch.

Push and pull. Push sends only the current branch to its configured upstream. Force push is always --force-with-lease. Pull is --ff-only when the branch has not diverged, and asks first when it has. Fetch is --all --prune.

Conflicts. Shows both sides next to the working copy with its markers counted. During a rebase the sides are labelled "Rebase target" and "Replayed commit", because ours and theirs swap meaning there. Taking a side that deleted the file removes it, and marking a file resolved re-counts the markers first.

History and branches. A branch graph, cherry-pick, revert, reset, tag and branch from a commit, merge, squash merge, rebase onto a branch, stashes and worktrees. "Undo last commit" is only offered for a commit that has not been pushed.

Being careful. Status reads set GIT_OPTIONAL_LOCKS=0, so the app does not take the index lock from a command running in your terminal. Paths are passed with --literal-pathspecs. Anything that loses work asks first.

What it does not have yet: interactive rebase, blame, bisect, reflog and submodule handling. History shows the latest 200 commits. Pull request features are GitHub-only; plain Git operations work with any remote.

Other limits: installers are not code-signed yet, and the macOS and Linux builds are tested in CI but need real-world use. Much of the code was written with AI assistance (Claude Code), which the commit history shows.

I would like to hear which missing feature would stop you from using it, and whether any of the choices above look wrong to you.


r/git • • 5d ago Mindblown

Git easter egg: tea is a valid date keyword meaning 5pm

284 Upvotes

Found this amusing. 21 years ago, a function named date_tea was added to date.c, which means you can run something like git diff HEAD@{tea}, git log --since=tea, etc.


r/git • • 5d ago

GitHub alternatives: Forgejo, Codeberg, Tangled and cgit – what's your experience?

10 Upvotes

One thing worth remembering is that Git and GitHub aren't the same thing. Git is a distributed version control system, and GitHub is one platform built around it.

I've been looking into other platforms developers can use to host and collaborate on Git repositories.

I covered four options in a video:

  • Forgejo – Self-hosted Git hosting and collaboration.
  • Codeberg – Community-run hosting built on Forgejo.
  • Tangled – Decentralised collaboration using the AT Protocol.
  • cgit – Lightweight repository browsing, rather than a full pull-request platform.

I also briefly cover Git's origins and the differences between these projects.

I made this video for my channel, Kodairo, and would be interested in hearing from people who have actually used these platforms.

What do you use for your Git repositories, and what made you choose it?

Video: https://youtu.be/HEUoytN4Yy4


r/git • • 5d ago

If you were in charge of rewriting a git subcommand or internal behavior from scratch, what would you change and how?

0 Upvotes

I'd like to get an idea about what are people's least favorite git command and what they would change about it.


r/git • • 6d ago

support Committed a secrets file in my first internship week and realized I know about 6 git commands

90 Upvotes

first week of my internship and i committed an env file with sandbox keys to our team repo. nobody panicked, my mentor walked me through rotating them and rewriting the history, but watching him i realized i know maybe 6 git commands and understand none of them. my team will reimburse a course and theres 10 weeks left here. what would you have an intern learn first so they stop being scared of git??


r/git • • 5d ago

support I built a local Git history explorer that lets you time-travel between any two commits

0 Upvotes

git-tm (git-time-machine) is a simple nodejs cli (npx git-tm) which launches a browser window to visually see and compare what happened across commits across branches without modifying the code. (Basically, shows you what happens when you move from commit A to B or vvice versa)

This was a hackathon project (FOSS Hack 2025) which was first made in 2025 February.
we did not win the hackathon, but I personally used this tool whenever I was working in large repos.

Recently for a project I reinstalled the tool and did not like how the UI looked and it also had many bugs, so I just revamped the whole thing properly with no dependencies. I just republished v1 to npm and was using this at workplace.

some friends at work said this is good, so I polished and made it better for public use.

this currently works on purely git commands now.

I wanted some opinions on how good this is and how I could make this better.

github link: https://github.com/nandhu-44/Git-Time-Machine/
docs: https://git-time-machine.js.org/
npm: https://npmjs.com/package/git-tm/


r/git • • 5d ago

tutorial Two Developers OneLine GitMerge Conflict

0 Upvotes

What happens when two developers working on the same branch modify the exact same line of code differently?

Git can't automatically decide which change to keep, and that's where a merge conflict happens.

I made a short visual explanation of this using the multiverse chaos of Avengers: Doomsday.

A simple Git concept explained through a fun tech analogy.

Video: https://youtu.be/QCf2AztQOvU?si=ulEjPiaZsUNLhSYi


r/git • • 7d ago

We built a time tracker that uses Git as a database

0 Upvotes

We've been using Git for version control for years, but recently we decided to try something a bit different: using it as a database for our team's time tracker.

Instead of running a backend and a database, we built a browser extension that stores everything needed for team time tracking in a private GitHub repository.

Here's how it works:

  • Time entries are stored as plain JSONL files, grouped by month and user.
  • Each team member writes to their own branch.
  • Changes are saved locally and synced in the background.
  • Git gives us version history, data portability and a way to recover previous versions of our timesheets.
  • Reports and invoices are generated directly in the browser.

Our whole team at Manticore Search has been using it for about a month now, and so far it's been working well.

The project is called Clockoli. It's free and open source, with no application backend of its own.

Clockoli relies on the GitHub API, but there's no Clockoli backend, and we don't have access to your time entries.

What I like most about this approach is that even if Clockoli disappears tomorrow, your data is still there. You can clone the repo, inspect its history, analyze the data with your own scripts or build your own tools around it.

https://github.com/clockoli/clockoli


r/git • • 8d ago

I built git-lineage to trace code back to its actual origin, cutting through formatting churn and noisy Git history

0 Upvotes

Hey r/git

I was working on a richer and deeper git blame to fix my personal pain, though of externalising it. Project is live on https://github.com/NayanSrivastav/git-lineage. Would appreciate some love or hate. Please take a look and share your feedback, appreciate your time.

Usage: https://nayansrivastav.github.io/git-lineage/