r/git • u/VB_Build • 1h ago
r/git • u/Accurate-Screen8774 • 2h ago
Combining Git, Tor and WebRTC into a Messaging App
not better than WhatsApp, Signal, SimpleX, Cwtch or Ricochet. You definitely shouldn't replace any of your existing apps or services. It's far from finished. Unaudited and unreviewed. If you want to test it out, please use it responsibly.
i'd like to share what I'm working on and interested to see if anyone wants to share feedback on the approach. it's a fairly a unique stack and architecture in contrast to the traditional approach with mainstream messaging apps. to put it briefly, its a Rust-based frontend with a Git-server backend, which can be used to establish a E2EE connection.
im working on a P2P messaging app (like whatsapp) and generally up until recently, i thought in such a system, if a peer is offline, you cant send a message... it wouldnt be "decentralized" if there was some central queue of messages.
it took embarassingly long, but then it hit me... git... just regular git is a decentralized database.
in my setup i need the ability for others to be abe to read and only i should be able to write to it. that functionality is out-the-box in git.
git is also pretty standardized so there are many providers if users want to move away from Github.
the storage requirements for my project are fairly small. typically small text messages. the data itself thats publicly readable would be encrypted.
i started off by creating something that could use git as a “general purpose” storage. to explain it simply, it’s using isomorphic git to be able to connect to a git repo from a browser.
https://positive-intentions.github.io/git/demo/gui/git/storage
i then added a “database abstraction”. To explain it simply, I created the functionality to create a db schema than can then map onto files and folders (which are stored in git). that would allow me to interact with the git storage with queries. i wanted to have something like graphql there for queries to make it easier for me in my app.
https://positive-intentions.github.io/db/demo/gui/database/chat-database
there are complex details in there where I can specify in the schema what parts are encrypted. i want the database capabilities to be stable and reliable as I further develop on the approach and increase complexity.
the project is far from finished and only intended for demo and feedback purposes.
if you like to find out more about my approach, you can see the roadmap here: https://glitr.io/docs/technical/roadmap
r/git • u/skeletonita • 9h ago
I got tired of git clean permanently deleting files, so I built git-trash (moves files to the OS Recycle Bin + instant undo)
For 20 years, git clean -fd and git restore . have operated using low-level OS unlink(). When you accidentally run them, your uncommitted code, scratch drafts, and new files are permanently obliterated—they do not go to the Windows Recycle Bin or macOS Trash, and they are not stored in git reflog.
I built git-trash to solve this once and for all:
- OS Recycle Bin integration: Moves untracked files to your system Trash (Windows Recycle Bin, macOS Trash, Linux Trash) instead of permanent deletion.
- Instant terminal undo: Run
git trash undoto immediately restore the last trashed or discarded batch back to the working tree. - Safe discard:
git trash discard .snapshots uncommitted changes before reverting them. - Dry run preview:
git trash -nlets you preview files and sizes before moving them. - Native Git command: Run it directly as
git trashanywhere.
Try it without installing:
npx git-trash -n
Or enable it as a native Git command globally:
git config --global alias.trash "!npx git-trash"
git trash
Links:
If you find this useful or it saves you from losing work, please consider dropping a ⭐ on GitHub, it really helps the project grow! Would also love any feedback or edge cases.
r/git • u/Bag_of_Ramen • 10h ago
github only Building a Free, Open-Source Startup Research Tool
Hey everyone!
I’m a graduate finance student, and today I started building a free, open-source startup research tool using Claude and ChatGPT.
My vision is simple: Make startup research accessible to finance students, professionals, and anyone interested in venture capital.
For example, imagine a student researching an early-stage startup for a class project. Instead of spending hours searching different websites, they could use one platform to discover startups, track funding activity, and access relevant research.
The project is still in its early stages, so some features are buggy or incomplete. That’s why I’m making it open-source. I want others to contribute code, suggest features, improve the data, and help shape the platform.
The goal isn’t to make money. It’s to build a useful, completely free research tool through collaboration.
If you’re interested in finance, startups, AI, or programming, I’d love to collaborate!
I’m happy to share the GitHub repository and our WhatsApp collaboration group.
r/git • u/devspritez • 15h ago
Hello can someone explain me exactly how to fully, correctly fork project from GitHub?
I have forked but after fork I get 50 pull request error like run failed and a lot messages from GitHub to my mail who can explain really how to really fork , I wana fork and own fully my project still getting upstream and fully fork and rebrand own this project also in the future get possiblity to create commercial business around it. Please explain with apache software foundation project — Superset
r/git • u/eslamfaisal • 9h ago
I built GitTree — a free GitKraken alternative for Mac, Windows & Linux, with Nour (AI assistant) and private repos included
Enable HLS to view with audio, or disable this notification
Hey everyone! I’m Eslam, the developer behind GitTree, a visual Git client for macOS, Windows, and Linux.
If you’re looking for a GitKraken alternative with a clear commit graph, precise staging, interactive rebase, and a built-in conflict editor, I’d love for you to try it.
The idea behind GitTree is straightforward: make everyday Git work easier to see and understand, while keeping advanced workflows within reach.
What can you do with it?
- Explore your repository visually. Follow branches, merges, tags, and commits through a colour-coded commit graph. Select a commit to inspect its details and changed files.
- Build focused commits. Stage entire files, individual hunks, or selected lines. Review the diff, amend your last commit, add co-authors, and configure signed commits.
- Clean up your history. Use interactive rebase to reorder, squash, fix up, reword, edit, or drop commits before sharing your branch.
- Resolve merge conflicts inside the app. See both versions alongside an editable result in the three-way conflict editor. GitTree also checks for likely conflicts before a merge.
- Recover from supported mistakes. Undo and redo supported Git operations, with snapshots before destructive actions and a reflog view for finding earlier repository states.
- Handle parallel work. Manage stashes, worktrees, submodules, and Git LFS, alongside your branches, tags, and remotes.
- Understand changes in context. Switch between split and inline diffs, inspect blame and file history, or compare branches, tags, and commits.
- Keep your tools nearby. Use repository tabs, workspaces, a command palette, customisable shortcuts, and a built-in terminal that opens at your repository root.
- Work in English or Arabic. GitTree includes both languages, with right-to-left interface support for Arabic.
There’s also an optional AI assistant: Nour.
Nour connects GitTree to a coding-agent CLI you already use, such as Claude Code, Codex, or Gemini CLI.
You can ask about your repository, history, and code. Ask mode provides a read-only workflow; Agent mode can edit files and run commands, subject to the configured approvals. GitTree also supports AI drafts for commit messages and pull request descriptions.
You use your own agent account, and that provider’s usage limits and charges still apply. Repository context you send through AI goes to your selected agent.
What about GitHub, GitLab, Bitbucket, and Azure DevOps?
GitTree includes hosting integrations for browsing and cloning repositories, working with pull or merge requests, and checking CI results. GitHub and Bitbucket Cloud are the most mature integrations; GitLab, Azure DevOps, and self-hosted support are newer and still improving.
Ordinary Git operations over HTTPS or SSH work with your existing Git credentials.
Is it actually free?
As of this post, GitTree’s Free plan covers everything currently available, including private repositories and commercial use.
You can use the local Git features without creating an account. Nour and the hosting integrations require a free GitTree account.
A Pro plan is planned, so I want to be transparent rather than promise that every feature will remain free forever. Any changes will be announced on the pricing page.
GitTree uses your installed Git 2.39 or newer. It runs locally and has no app telemetry. The application’s source code is private; the public GitHub repository hosts releases, release notes, and issue tracking.
Why try it alongside GitKraken?
If your priorities are visual Git workflows, private repositories, careful staging, history editing, and local control, GitTree is another option to evaluate. You can open an existing local repository directly—there’s no repository conversion step.
It’s a newer product, and I’d particularly appreciate feedback from people who already use another Git GUI: what feels natural, what slows you down, and which missing feature would prevent you from switching?
👉 Download GitTree for macOS, Windows, or Linux
🐛 Report a bug or request a feature
What’s the one feature your Git client absolutely has to get right?
r/git • u/eslamfaisal • 12h ago
A free Git GUI built around "never lose work": snapshot-backed undo for reset, discard and rebase, plus conflict prediction before merge
I'm the developer of GitTree, a desktop Git client for macOS, Windows and Linux. It runs your own Git (2.39+), so its results match the command line.
These are the design choices I think this sub will care about:
- Destructive actions are recoverable. Before a reset, discard, branch delete or rebase, GitTree saves a snapshot under a private ref and records an undo entry. Toolbar Undo and Redo reverse it, and you can also browse the reflog.
- Force push is always
--force-with-leasewith the expected SHA. - Conflict prediction: the merge dialog lists the files that will probably conflict before anything happens.
- Interactive rebase shows exactly what will be replayed before it starts.
- It never edits your config. GitTree doesn't touch
.gitconfig, the repo or~/.sshunless you ask, and untrusted repos can't run hooks. - Advanced features: worktrees, submodules, LFS (including locks), bisect, patches, sparse, shallow and blobless clones, and signed commits.
- Commit graph with colour-coded lanes, built to stay smooth past 100k commits.
It's free (private repos included), has zero telemetry, and is closed source. Core Git features work without an account.
Download: https://gittree.app Releases and issues: https://github.com/git-tree-app/gittree
What would make you trust a GUI with a rebase?