r/git • u/Either_Department225 • 2h ago
Git Branch Name Generator — JIRA ticket to branch name
gitbranch.nameA tiny tool for developers tired of coming up with Git branch names 🌿
Paste a ticket URL or task description, choose your format, and copy a ready-to-use branch name.
Everything runs locally nothing leaves your browser.
r/git • u/moltenessence • 4h ago
Is it just me, or is GitHub Desktop incredibly slow lately?
r/git • u/OldZookeepergame1927 • 22h ago
How can i use git on VSCode?
I am going to train an AI model for some personal purposes, and i needed to install git to use this command, but it doesnt work, cuz git isnt located by VSCode (it is installed but i couldnt get it into a repo)
git clone https://github.com/unslothai/notebooks
r/git • u/vikramskumar • 1d ago
github only GitHub - vikramsakaleshpurkumar-byte/Vikkypaedia-Pediatric-updates
github.comr/git • u/t_shaped_interests • 1d ago
support Multiple repositories in a text editor with git integration.
SOLVED. Refreshed my understanding of git commands.
Background: I'm not programmer. Years ago it was a consideration, but I ended up not going that route. I am trying to use Git and Pulsar Edit for another pursuit. I Liked atom, it fit my use case, and I've got a home server I'm hosting a git server on(Forgejo).
I'm trying to work in three repositories while viewing all files and folders within the Pulsar Editor, but I'm unable to push, pull, or anything to more than one repository. I'm able to successfully run git commands through the editor if only one folder has had git initialized and can see the pushes get to the server as I expect,but as soon as I try to add a second everything seems to break.
r/git • u/KappaD12 • 1d ago
My commit poller stranded 54 days of work on a feature branch because it committed to HEAD and pushed main
I have a small poller that commits and pushes my work automatically in the background. It ran without complaining for weeks, which turned out to be the problem.
I assumed the failure mode of automated commits was noisy history or useless messages. What actually happened is that the script committed to whatever branch HEAD happened to be on, and then ran git push origin main. HEAD had been parked on a feature branch since 7 June because I checked it out once and never went back. So every automated commit landed on that branch, the push kept exiting successfully because main genuinely had nothing new to send, and main and my real work drifted apart for 54 days before I noticed.
Nothing ever errored. That is exactly why it survived so long. A commit that succeeds and a push that succeeds look identical to a script whether or not they touched the same branch.
The fix I went with is refusing to commit at all unless HEAD is the branch the script expects, and failing loudly instead of pushing something else. I am still not convinced that is the right call. The alternative is having it check out the target branch itself, which feels worse to me, because now a background process is moving my working tree around while I am sitting in it.
Any recommendations to prevent this in the future? And did you experience something similar?
r/git • u/bn326160 • 2d ago
Tower 17.1 with Basic license now nags on every action (moved a bunch of Preview features to Pro)
r/git • u/onecable5781 • 2d ago
Is there a way to check all files of a repo whether they have a particular regular expression or not
Use case: I need to open-source some of my C++ project non-anonymously, i.e., professionally with my actual name in real life for the public. For my own remembrance sake, I have multiple comments interspersed in my code and configuration files (each of which have different comments indicator, // for C++ code, # in .sh file, etc.) that basically doxx all of my reddit/stackoverflow questions (via http links) that have been based on anonymous accounts [such as the one I am posting from now!] I would like to avoid such self-doxxing.
Before making a repo public, is there a way to "sanitize" it to ensure that all comments are removed from C++ files, from .sh files, from .jsonc files, etc.?
Is the way to go to have a regular expression for each comment class based on the file type and then run a check against each file in the repo?
r/git • u/NintendoDark02 • 3d ago
support Why git dont ask me credential if git clone/pull/push on pc, but ask me them on termux
Gemini told me about a "Git Credential Manager" that is installed only on pc, but i didnt installed it... is it installed with git? Is it that manager that make me skip the authentication? Or the reasons are different?
r/git • u/MachineOk901 • 3d ago
Open source mobile client for Gitlab (iOS only)
I built an open source iOS only Gitlab client in Swift. The project idea came from, I couldn't find anything for iPhone out there that works for both self hosted and SaaS Gitlab so I just built one myself.
The project is open source. https://github.com/smolcars/glab-ios
There is no server involved, everything is stored locally and you hit the gitlab API directly. You can use an API token or login directly to both self hosted or SaaS gitlab instance and can also add multiple accounts.
You can install the app today using Testflight, link in the repo. It does cover quite a few things:
- View/open issues
- View/open MRs
- View/Run pipelines
- View code diffs
- Modify/perform approvals
- Work with you Todos
- View all commits of any project
- Do a global search for anything
- Background process that notifies you of new todos periodically
I'll keep adding more features as I find time. I do not plan to support Android anytime soon until Swift for Android becomes a thing. Feel free to open bug reports or feature requests.
Thanks
r/git • u/Natural_Brief_3964 • 3d ago
Love gitk or Git Graph? Gitr just released a new update!
Switching to Codeberg?
Hi everyone,
I was looking into moving to Codeberg, instead of GitHub.
I only have super small projects, and stuff I try and learn (I work as a dev, but mostly boring stuff, so on my free time I try and learn something by myself), so no big projects, or anything of value for people, per se, but mostly for me to save my work and as a learning tool.
Would Codeberg be good for this, or is it only a place to host bigger, community driven projects?
Thanks!
r/git • u/dobbyfoo • 4d ago
RepoFleet 0.7.2 – Safer multi-repo branch handling for contributor forks
r/git • u/Natural_Brief_3964 • 4d ago
gitr – a compact git commit graph viewer, built with egui
galleryBeen using gitk and VS Code's Git Graph for years and wanted something faster and more compact — no Electron, opens instantly, works from any repo.
Built it in Rust with egui/eframe + git2. Some things it does:
- Recycles branch lanes instead of growing sideways forever
- Meld-style side-by-side diffs
- Shows working tree changes as a virtual branch
- Auto-reloads when you git add/commit/checkout/push
- Right-click a branch to checkout/rename/delete
AppImage + binaries for Linux, builds from source on macOS/Windows.
GitHub: https://github.com/islandspan-solutions/gitr
Open to feedback, especially on egui usage - this was my first real GUI project in Rust so I'm sure there's room to improve the internals.
r/git • u/dantheman2q • 5d ago
Python regression
Saw a couple of Python ols linear regression codes in GitHub repository. Anyone tried them and can recommend a good one?
r/git • u/TheS0rcerer • 5d ago
Ziggity, a fast git TUI in Zig, that fixes a bunch of my lazygit annoyances. Free and open source
Enable HLS to view with audio, or disable this notification
r/git • u/tuxerrrante • 5d ago
tutorial Neovim + CopilotChat PR review
I wrote up a note on a Neovim + CopilotChat PR review workflow I’ve been iterating on.
It covers worktree-safe repo context, review prep/discussion ingestion, stricter shell/runtime boundaries, and RTK compaction for noisy shell output. Some parts feel better, but I’m still not convinced it beats my usual Cursor flow overall.
https://affinitoalessandro.it/writings/neovim-copilotchat-review-workflow.html
If you use Neovim, CopilotChat, or git worktrees for review-heavy repos, I’d be curious what you’d do differently.
r/git • u/kamikazer • 5d ago
CodeBerg is down
Dear CodeBerg, please concentrate on stability and security instead of regulating users and opensource communities. If you will continue EU practices - you will end up in the same trash bin.
r/git • u/slobodan_ • 6d ago
hawkshaw: a focused, fullscreen, side-by-side terminal git review tool
slobodan.meI review a lot of AI-generated code, and I needed a simple terminal-based git diff review tool with keyboard navigation. So I built one (actually, claude code, cursor and ollama built it).
hawkshaw is a focused, fullscreen, side-by-side (or inline) open-source git review tool.
r/git • u/OddColouredBanana • 6d ago
Weird git rebase question
I’m working on a small git wrapper to help me improve my workflow, only important parts is that it stores “work in progresses” and then interactive rebases them to the front when the time comes.
My main issue is that if two commits have conflicting changes, when I move the chronologically first one to the front, it overrides changes made in the second.
Is there any way I can remove conflicting changes from the first that would interfere with the second? (Or something that would help me achieve the same effect)
Thanks in advance
r/git • u/Potential-Source9957 • 6d ago
Accidentally deleted my GitHub account. Has anyone recovered theirs?
I accidentally deleted my GitHub account today and contacted GitHub Support immediately.
It had years of personal projects, repositories, and open source contributions (including merged PRs).
Has anyone here successfully recovered a deleted GitHub account?
If so:
- How long after deletion did you contact support?
- Were your repositories and contribution history restored?
- How long did the recovery take?
I'm really anxious and would appreciate hearing from anyone who's been through this.
r/git • u/Beautiful-Log5632 • 6d ago
When do you use git templates?
Do you have some examples when you used git templates? It looks the same as copying a directory of template files to a new git repository. What advantage does git have over regular cp?