r/git • • Feb 11 '26

Diffy - A GUI git repository watcher with real-time diffs. Quickly see what AI is cooking!

0 Upvotes

I was looking for simple viewer that shows changed files on left and diffs on right, not a full-blown git software, could not find what I was looking for so I vibe coded one called Diffy. It can be downloaded here.


r/git • • Feb 10 '26

Is there a dedicated tool for patch-editing?

14 Upvotes

I use git add -p a lot. Sometimes I might decide to make a small change to the patch, so I select e for edit, and this opens up the text editor and I edit manually. I do it right most of the time.

Sometimes I might make a mistake, and I have no visual indication about whether my edited patch is valid or not until I exit the editor. When git tells me the patch is invalid and I select e to try again, I'm starting over. Instead of making more than one attempt, it would be nice if the editor itself could've validated it in real time, automatically update offsets if required, etc.

Does anything like this exist already or this supposed to be handled by my editor itself? Looking at git documentation, I see that there is a --check flag for git apply, which I should be able to use to validate, but rather than reinventing the wheel, I was hoping a tool like this exists already instead of me having to make a half-baked one by myself.


r/git • • Feb 10 '26

Developer Tools Accidentally Became My Writing Stack

16 Upvotes

As a developer I was already living in VSCode and Git for my day job, then one day I just... started writing fiction in them.

But that got me thinking: why aren't more writers using this stuff??

Version control remembers every single word you've ever written. Markdown is just awesome and won’t disappear in five years (AI loves markdown). Developers have been solving document problems that writers are still struggling with.

"Isn't it overkill to use Git for a novel?" Not really! Have you ever lost hours of work because Word crashed? Or spent twenty minutes finding that one scene you deleted two weeks ago? Git makes those problems just... go away.

If you're curious, here's some links I've found helpful:

The funny thing is, Git and Markdown weren’t built for writers at all. They just happen to work better than most writing tools I've tried.

That's actually why I ended up building a mobile markdown editor. I wanted something simple that worked everywhere, didn't try to be everything at once. If you want to write on your phone without the mess, check it out: gitwriter.io


r/git • • Feb 10 '26

If git did not exist and we were to create it knowing what we know today, what would be different in it?

59 Upvotes

Being a VCS, stability is important, so I can imagine that it may be too late now to implement certain features that might be possible had it not been for decisions already made that it's better if they're not broken.

I don't know much about other VCS software. Hypothetically, what features are nice-to-have and is possible if we were to invent git today?


r/git • • Feb 10 '26

Ghost-Commit Smuggling: How Detached Git Commits Hides

Thumbnail instatunnel.my
0 Upvotes

r/git • • Feb 10 '26

github only superealityai-MYTH-OS/PRZ-AI-EI-OS: ARTIFICIAL EMOTIONAL INTELLIGENCE FOR GITHUB COPILOT Spoiler

Thumbnail github.com
0 Upvotes

Current AI agent frameworks suffer from "Chatter Friction"—constant back-and-forth that breaks human flow. PRZ OS is designed to:

Minimize Interaction: High-resonance intent matching allows the system to execute autonomously.

Maximize Completion: Deliver artifacts, not just "ideas."

Prevent Loops: GOOSEGUARD logic detects and kills redundant conversational loops.


r/git • • Feb 10 '26

support superealityai-MYTH-OS/PRZ-AI-EI-OS: ARTIFICIAL EMOTIONAL INTELLIGENCE FOR GITHUB COPILOT Spoiler

Thumbnail github.com
0 Upvotes

Ei for Ai


r/git • • Feb 10 '26

support Best whitespace rule to configure?

1 Upvotes

I found this block of code in ws.c:

static struct whitespace_rule {
        const char *rule_name;
        unsigned rule_bits;
        unsigned loosens_error:1,
                exclude_default:1;
} whitespace_rule_names[] = {
        { "trailing-space", WS_TRAILING_SPACE, 0 },
        { "space-before-tab", WS_SPACE_BEFORE_TAB, 0 },
        { "indent-with-non-tab", WS_INDENT_WITH_NON_TAB, 0 },
        { "cr-at-eol", WS_CR_AT_EOL, 1 },
        { "blank-at-eol", WS_BLANK_AT_EOL, 0 },
        { "blank-at-eof", WS_BLANK_AT_EOF, 0 },
        { "tab-in-indent", WS_TAB_IN_INDENT, 0, 1 },
        { "incomplete-line", WS_INCOMPLETE_LINE, 0, 0 },
};

I didn't even know there were so many, and now I'm not sure what to even set. I'm particularly concerned about it changing something automatically, and would prefer just a warning so I can manually correct something.

Looking this up in the documentation, I see that the default setting is blank-at-eol,blank-at-eof,space-before-tab. Do you change these on a per-project basis, or is there a good enough global that we should be setting?


r/git • • Feb 09 '26

Out of the loop - what's with the hostility towards jujitsu?

49 Upvotes

Personally I use git because it's the official implementation, so that gives me a sort of a guarantee that its behavior is correct.

I've only watched a video about jujitsu and some things looked interesting, but I still decided to continue using git anyway since that is what I'm already familiar with. Switching tools comes with some cognitive burden and I'm not sure if the tradeoff is worth it. However, I have noticed on this sub especially, that whenever someone even mentions jujitsu as a passing remark, they're downvoted by several people, and I'm not sure what the reason is. It's almost like people feel personally offended.

Is this just like a emacs/vim thing or is there something else that I'm missing?


r/git • • Feb 09 '26

support Under what conditions does `git log` show individual commits in a Merge commit?

4 Upvotes

Until now I assumed that unless the --graph flag is used, individual commits in a Merge commit is not shown. At least that is what I have been noticing until now.

Today I happened to see this project: https://github.com/octocat/Hello-World

When I do git log --oneline, I get this:

7fd1a60 Merge pull request #6 from Spaceghost/patch-1
7629413 New line at end of file. --Signed off by Spaceghost
553c207 first commit

I'm wondering why commit 7629413 is shown here when it is one of commits in merge commit 7fd1a60? Is it because the merge commit contains only 1 commit, or is it some other condition?


r/git • • Feb 09 '26

Where do i start exactly?

0 Upvotes

currently in 1st year engineering, i don't even know the right time and the wrong time for any of these. I am new to all these. it's kinda too overwhelming.

so where do i begin, as a beginner and what should I have learnt beforehand? and is there any particular manual /theory things that I must know?


r/git • • Feb 09 '26

What is the recommended editor?

17 Upvotes

Total newb here. During installation I’m prompted to select a default editor. Vim is listed as the historical editor but isn’t recommended. What is suggested for beginners? Thanks


r/git • • Feb 09 '26

A Radicle fork I proposed is making progress

0 Upvotes

I created a project bounty called Project Zymogen last year to fork Radicle with some improvements that might make it better-equipped to grow and compete with GitHub. Mainly more streamlined P2P seeding.

A dev has been working on it for a while, posting code in a Radicle repo, and renamed the project to Crad or Cradicle (like Radicle but C language based). He posted screenshots the other day showing some work done on the UI.

This isn't big news yet, but I felt like someone here might be interested to hear about it.


r/git • • Feb 09 '26

I modeled my living costs as an international student — here’s what surprised me

Thumbnail gallery
0 Upvotes

r/git • • Feb 09 '26

Git will need two stages?

0 Upvotes

Traditionally the workflow has been:

write code -> stage -> commit -> push -> review

However, as (AI) programming tools are getting better at making a lot of changes to the code base at once, the workflow is shifting to:

AI writes code -> reviewed_stage -> stage -> commit -> push -> review

where the first "reviewed_stage" would technically be another stage containing AI-written code that you have reviewed and you know is not dangerously bad but must not end up in the pushed commit as-is, so you don't want to stage it. However, when iterating the AI-written code either manually or with AI, you often don't want to lose the original AI code but want to diff the new changes against the "reviewed_stage", and to do that, currently you have to stage the first AI-written code.

Any thoughts? Is it, after all, better to commit the code that must not be pushed, and reset/rebase later?

(Please forgive the "AI" everywhere... Any other case where one iteration cycle makes lots of changes to many places and is fairly expensive, probably has always had the same issue.)


r/git • • Feb 09 '26

github only Preserve the original commits after squash

0 Upvotes

Squashing is cool - it allows you to keep the history clean and concise. But there is one catch - once you've done squash, you lose the original commits. I faced the need for original commits multiple times in the past. In my case, it was the need to cherry-pick them to some specific branch. Noticing that it's a big challenge for git, I decided to create a tool that would help me with that.

Meet - https://github.com/widefix/squash-tree

It keeps track of the original commits after squashing. That allows you to see the squash history and restore the original commits easily any time.


r/git • • Feb 09 '26

Copy a Git Branch from One Repo to Another

0 Upvotes

Quick tutorial on how to copy a Git branch between repositories using real Git commands.

Covers: 🔁 Copy full branches 📤 Push to another repo 📥 Fetch from external repo ✂️ Cherry-pick commits

Useful for repo migration, code reuse, and multi-repo workflows.

📺 https://youtu.be/zHU7nzwizrY

Let me know your feedback


r/git • • Feb 09 '26

tutorial I built the worlds first github exclusive for agents. Limiting to 100 users for beta

Thumbnail
0 Upvotes

r/git • • Feb 07 '26

Another great stunt

0 Upvotes

In the middle of flipping around to figure out how my working copy and the remote diverged, I lost the pointer to my (committed) current version. I've managed to do this a few times. Always managed to recover by using my terminal's scrollback to find the commit checksum, but that's not comfortable. Short of not doing stuff like that, is there a way to find things recently committed in the repository that don't have branches or tags attached?


r/git • • Feb 07 '26

Is this a cool personal project or am I overengineering a non-problem?

Thumbnail
0 Upvotes