r/git

Image 1 — Update!
Image 2 — Update!
Image 3 — Update!
Image 4 — Update!
Image 5 — Update!
▲ 1 r/git

Update!

Hello, guys. So in previous post I saw all your advices, but problem is the same. So I take screenshots to make it more easy to understand.

On the photo 1 I did the first commit and all was good as usually.

Photo 2 — I pushed my project on github with my commit.

On photo 3 I add some changes and a command "git add ."

Photo 4 — I try to commit and get this in the terminal. They just saying that there's nothing to commit.

Photo 5 — a command "git status" and nothing changed again!

What should I do?

P.S. as I said in previous post, I tried in intellij idea and all worked. Also I tried it many times again and in intellij al works good! So I really don't know why this problem keeps happening in VS code.

u/PK20222222 — 1 day ago
▲ 57 r/git+1 crossposts

How do I make my first contribution to Open Source?

Building CS projects became boring and exhausting for me. So I wanted to contribute to open source projects on github.

I found out that Big tech companies too have open source projects on github, and I thought contributing to these projects might have a plus side in getting me an internship(i dont really know if thats right). So for that reason I checked Google’s github page and found out about GoogleTest. Google’s open source project and decided to contribute in that project. But I came to realise that I might not be able to do so because I have no prior experience in open source contribution, I dont know what folders to look in, I dont know what files have issues in them, I dont know what the issues are, even if I read the issues I still cannot navigate to those issues to fix them(if I can, which i cannot so i just leave it as it is).

I would really like if someone guided me through the process of how to make changes to the files with issues and on which branch to push them to because as much as I know nothing is to be done on main?
Also how to do the basics, what are ‘unit test’ never came across those as well and what other things that I’d need to learn to be a better contributor.

reddit.com
u/EnunC8_Mofo — 2 days ago
▲ 3 r/git+2 crossposts

i made 14 skills because coding agents keep making architecture decisions too fast

been using Claude Code for bigger backend work and one problem I keep seeing is not really code generation.

Claude can write the code pretty fast.

problem is sometimes it decide the architecture even faster 😅

like you ask for payments, auth, retries, multi tenant stuff etc and suddenly there is a design decision spread across 15 files before you even noticed what decision it made.

so I started writing my own skills for the things I normally think about before touching backend code.

after adding more and more of them it became ArcForge.

right now there are 14 skills around:

  • system architecture
  • auth + permissions
  • API contracts
  • data/storage
  • transactions + consistency
  • async jobs / queues
  • retries, rate limits, backpressure
  • security/privacy
  • production operations
  • migrations
  • testing/release readiness
  • runtime/deployment
  • AI/agent architecture
  • architecture review

I didnt wanted them to just say "follow best practices".

I built them around basically 4 modes:

Think → Review → Change → Verify

so Claude can first think through requirements/invariants/failure modes, review what already exists, make the change and then actually verify what it did.

skills are normal Agent Skills folders with SKILL.md + deeper references/examples when needed, so its not tied to some custom runtime.

its completely free + open source (MIT).

repo:
https://github.com/d4rkNinja/arcforge

you can install all skills for Claude Code with:

npx --yes skills@1.5.22 add d4rkNinja/arcforge --skill '*' -a claude-code --copy -y

site/docs:
https://arcforge.infynon.com/

would genuinely like feedback from people here who maintain their own Claude skills.

specially curious if you prefer one big engineering skill or smaller skills split by domain like this.

github.com
▲ 0 r/git+1 crossposts

I got tired of committing "fix: please work", so I built a Rust CLI/TUI to write Conventional Commits for me Cogit v0.1.0

Hey everyone,

Let’s be honest for a second. We’ve all seen (or written) commit histories that look something like this:

- fix: bug
- fix: actually fix the bug
- fix: forgot semicolon
- please work
- asdfghjkl
- final_final_v2_really_working

Your team lead sighs. Git blame becomes a game of Russian roulette. And when it’s time to write a release changelog, nobody has any idea what actually changed.

I got tired of staring blankly at a 500-line diff on Friday afternoon trying to craft the perfect Conventional Commit message, so I built Cogit — a lightweight CLI and TUI tool written in Rust.


What does it actually do?

You stage your files with git add, run cogit, and it inspects your staged diff to generate clean, structured Conventional Commits (feat:, fix:, refactor:, chore:, etc.).

Here’s why it’s not just another Python wrapper script:

  1. Dual-Pane TUI (cogit --tui): Built with ratatui. You get a syntax-highlighted diff on the left and an editable textarea on the right. You can scroll through your changes, edit the generated message in-place, press [r] to regenerate with a hint (e.g. "focus on the auth refactor"), or hit [e] to drop straight into $EDITOR.
  2. Multi-Provider AI: Works out of the box with Google Gemini, OpenAI, Grok (xAI), Groq, or 100% locally with Ollama if you don't want your code leaving your machine.
  3. Lockfile & Noise Sanitization: It automatically strips Cargo.lock, package-lock.json, and binary blobs from the diff payload before sending it to the LLM so you don't burn tokens on 15,000 lines of hash changes.
  4. Safe by Design: It invokes git commit -F under the hood via a temporary buffer, meaning it preserves your existing pre-commit hooks, GPG/SSH signatures, and git config.
  5. Detailed Mode (-d): If you need more than a single-line summary, -d generates a conventional subject line along with bulleted rationale for PRs and complex reviews.

Links & Code

It's completely free and open source under the MIT license:

I’d love to hear your feedback, feature requests, or constructive roasts. Let me know what you think!

Also any contributions are welcome 🦀

u/milanpramod — 1 day ago
▲ 0 r/git

Can't commit in vs code(git and github)

Hi guys, this is my first post and the problem is that I can't commit my new changes in project in visual studio code. I didn't found anything about exactly this problem on reddit, so I decided to ask here. So I just started to work with git and github, I learn it on YouTube and I started in vs code to get examples like in that videos. All started good, but when I already push my project to repository on github and then I change some in code and trying to commit changes, vs code just text me in thi terminal that there is nothing to commit and that the project has no changes. Because of it I also can't create another branches (in fact I create them, but I can't do anything with them like that person do in the video!). So I don't understand and don't know how to solve this problem. Maybe someone can help me or give me advice.(maybe here is some mistakes, English isn't my native language). Oh and I forgot to say that also I tried this in the intellij idea and all works, so maybe problem actually in vs code.

reddit.com
u/PK20222222 — 2 days ago
▲ 0 r/git

New to git, but dont understand the difference between push and commit

I newly setup version control with my Unreal Engine project via GithubDesktop. I have trouble understand where exactly the difference is between pushes and commits.

After I made changes I have to commit my changes and I can have several commits and then I have to "push to origin".

Whats the difference between commits and pushes? and whats a good way to separate commits into? After I finish a task or at the end of each day?

reddit.com
u/LalaCrowGhost — 2 days ago
▲ 243 r/git+6 crossposts

I am building a Git GUI that shows you what is happening under the hood. 👀

You click an action → see the Git command → see what changed.

There’s also a Learning Mode for beginners with interactive practice and real Git scenarios.

Here’s a quick demo of what I’ve built so far 👇
This is just a quick demo, not the full app. I’ll be adding the rest of the Git commands and more features before the first release.

The project will be open source, and I’m hoping we can keep adding to it and turn it into a useful Git tool for everyone.

Still early, so I’d love to hear your feedback.

u/WeakWoodpecker2912 — 4 days ago
▲ 0 r/git+2 crossposts

GitHub works in Codex/CLI, but ChatGPT App Classic can’t access my repo. Has anyone solved this?

I’m trying to understand whether I’m hitting a configuration problem, an account/product limitation, or a current limitation of ChatGPT App Classic.

I use ChatGPT heavily alongside Codex for a fairly large software project hosted in a private GitHub repository. What I want is relatively simple: I would like ChatGPT App Classic to have direct read access to the GitHub repo so I can discuss the current codebase, architecture, PRs, migrations, etc. without constantly moving context between ChatGPT and Codex.

The strange part is that GitHub itself is working correctly.

On my Mac:

  • gh is installed and current (2.97.0)
  • gh auth status shows that I’m authenticated successfully
  • Git operations use HTTPS
  • Token has repo, workflow, read:org, etc.
  • I can fetch/push normally
  • Codex can work with the repository
  • GitHub CLI can create/manage PRs

I have also reauthenticated from Terminal using:

gh auth login -h github.com

Authentication completes successfully.

So this doesn’t appear to be a GitHub authentication or repository-permissions problem.

The problem is specifically ChatGPT App Classic. I can’t get it to reliably access the same GitHub repository directly, even though other OpenAI tooling can work with it.

This is becoming a significant workflow issue because I use ChatGPT for the higher-level architecture/governance side of the project and Codex for repository execution. Ideally the workflow would be:

ChatGPT: inspect current repo/PR state → reason about architecture → give execution instructions
Codex: implement/test/commit/PR
ChatGPT: inspect the resulting repo/PR → review → determine next step

Instead, I often have to manually paste Codex reports back into ChatGPT because ChatGPT Classic cannot inspect the repository itself. On a large project with lots of migrations, tests, ADRs and governance artifacts, that becomes both inefficient and potentially error-prone.

I’m specifically trying to determine:

  1. Is direct GitHub access currently supported in ChatGPT App Classic?
  2. Is GitHub access dependent on the ChatGPT mode/model being used?
  3. Does the GitHub App/connector only work in certain experiences such as Deep Research or Agent Mode?
  4. Is there a difference between GitHub access in the web app and the macOS Classic app?
  5. If GitHub is already connected to the OpenAI account, is there some way to force/re-authorize the connection for Classic?
  6. Has anyone had GitHub working in one ChatGPT surface but unavailable in another and actually fixed it?
  7. Is there any diagnostic page/log that shows whether ChatGPT itself has permission to access a particular private repository?

I’m not looking for help configuring GitHub CLI. That side is confirmed working. I’m specifically trying to get ChatGPT itself to see the repository.

If anyone has a working setup with ChatGPT App Classic + private GitHub repositories, I’d be very interested in exactly how you configured it, including plan, GitHub App/plugin configuration, ChatGPT mode, and whether you’re using web or macOS.

Even confirmation that “this currently isn’t supported in Classic” would be useful, because at least I’d stop troubleshooting something that cannot presently be fixed.

Has anyone solved this?

u/Simple_Pineapple2463 — 3 days ago
▲ 31 r/git

Best resources to master Git workflows and commands?

Hey all, I'm looking to finally master Git (im not familiar enough i need to improve my skills) . What are your top recommendations for free websites, video playlists, or paid Udemy courses or another platforms ?

Appreciate the help!

reddit.com
u/Juanppa_996x — 4 days ago
▲ 0 r/git

Small detail but confused

  1. git checkout main "your branch is up to date with origin/main"

I know it isn't

  1. git pull origin main - many changes incoming. it is now actually up to date with origin/main

Am I misunderstanding something here?

reddit.com
u/NotSeacombe — 4 days ago
▲ 9 r/git+1 crossposts

GitComet 0.2.0 two months of work squeezed into this release

We just released GitComet 0.2.0 after roughly two months of work on our open-source Git GUI.

A lot of the work wasn't about building huge new features. It was fixing dozens of small workflows and interaction details based on feedback from GitHub, Reddit, and other channels.

During the 0.1.x releases, our main goal was feature parity with existing Git GUI tools. With 0.2.x, we're starting to move beyond that: refining the UI, making it feel more modern, and experimenting with workflows that aren't as common in traditional Git clients.

One example is smaller laptop screens. We wanted the UI to remain useful without everything feeling cramped, so the side panel can now be minimized while keeping its functionality easily accessible.

We also received quite a bit of feedback that the interface didn't feel modern enough. That pushed us to rethink spacing, hierarchy, interactions, and the overall visual style rather than just adding more functionality.

Some of the bigger changes in 0.2.0:

  • New visual design and UI refinements
  • Rebase and interactive rebase support
  • Browse and edit repository files directly inside GitComet
  • Browse files as they existed at a specific point in Git history
  • Worktree changes shown alongside the Git log/history graph
  • Git log filtering by author
  • Improved merge/conflict tooling, including better conflict-marker selection
  • Many more right-click context menus and actions throughout the UI
  • Better responsiveness for smaller screens

Probably the biggest lesson from these two months is that feature implementation is increasingly the easy part. Making dozens of features work together naturally is where a surprising amount of engineering time still goes.

GitComet is written in Rust + GPUI, open source, and free for personal and commercial use.

Website: https://gitcomet.dev/
Repository: https://github.com/Auto-Explore/GitComet

u/Havunenreddit — 4 days ago
▲ 0 r/git

I built AngKorGit — a free, open-source Git client (12 MB, Rust + libgit2)

Hi everyone! I'm a developer from Cambodia and for the past months I've been building AngKorGit, a free, open-source (MIT) Git client for macOS, Windows, and Linux — named after Angkor Wat.

I love GUI clients like GitKraken but wanted something lightweight and completely free. So it's built with Rust + libgit2 and the system webview (Tauri) instead of Electron — the whole download is ~12 MB, and the commit graph stays smooth on 100k-commit repos.

What it does today: visual conflict resolver (pick lines from A/B, edit the result by hand), interactive rebase, stage by file/hunk/line, drag-and-drop merge/rebase, undo/redo, built-in terminal, 16 themes, and optional AI commit messages via CLIs you already have — no account, no telemetry.

GitHub: https://github.com/cheat2001/angkorgit

Site: https://angkorgit.app

macOS: brew install --cask cheat2001/tap/angkorgit

Would genuinely love feedback from people who live in Git all day — what would you need before using something like this daily?

u/chansocheat — 4 days ago
▲ 234 r/git+2 crossposts

git-calendar.org - An open-source, decentralized, e2ee calendar using Git as the backend

I wanted to share a project I'm working on: git-calendar.org - a privacy-focused calendar that uses a standard Git repository as storage instead of relying on a traditional backend server. It lets users choose where their data is stored. No more google/apple/microslop owning your schedule.

Key features:

  • Git-powered - calendar data live in plain Git repo (full history, easy backups, works offline)
  • No central server or backend - the client talks directly to any Git remote (GitHub, GitLab, Codeberg...)
  • End-to-end encryption so you can host it on untrusted providers
  • Slick web UI with keyboard shortcuts and more
  • iCalendar compatibility so it's easy to switch

Core is written in Go (compiled to WASM for the web).
The web client uses Vue.js.
It's ready for Android and IOS apps. Feel free to build one!

Try it: https://git-calendar.org
Source: https://github.com/git-calendar

Would love feedback from people who care about Git-based tools and data ownership. Also you can support the project with a star and follow on GitHub, to let me know I should continue working on it!

u/Firu11 — 7 days ago
▲ 100 r/git

Why use a UI for git?

I see this question of, “what GUI or TUI should I use to work with git?” fairly often here. And always I feel bad for saying “just use the cli” over and over, but truthfully I can’t see a reason to need a UI.

Are people actually running into pain points with the cli, or is it just preference for people who don’t like working in a terminal?

FWIW, I have used GitKraken, LazyGit, SourceTree and GitHub Desktop before. And I don’t think they are bad to use (unless you are just learning git), but more curious why.

EDIT : I’m mainly referring to standalone UIs, I understand why people would use IDE integrations, as it’s quick and convenient. But having to open a separate application or run a separate command to open a terminal app to run your commands seems overkill to me.

EDIT 2 : I use vscode as my difftool and mergetool. I still open them directly from the terminal by running the cli. I don't think this is the same as using a full git client like SourceTree, Gitkraken, or lazygit to fully drive your version control workflow. Which is what I am asking about.

Cheers

reddit.com
u/connorjpg — 8 days ago
▲ 3 r/git+3 crossposts

I built a git GUI that explains what every button actually does, not just makes them easier to click

We got tired of Git GUIs that just replace git commit with a button and call it a day.

You still don't know what actually happened.

So We built GitRoot.

Same idea, one difference: every button tells you what it actually did, in plain language, plus the exact Git command it ran underneath.

Click something that could lose work (a hard reset, a force push), and it stops and shows you exactly what you'd lose before anything runs.

Made a short video showing it in action :

https://reddit.com/link/1vr1o54/video/22g1b3n7gzjh1/player

Early beta coming soon. Windows and Linux builds are up now (macOS is on its way):

Also just opened a Discord: https://discord.gg/nHcyRdeG3

That's where every update is going to land first, and it's also where I'll be announcing when the source goes open.

So if either of those matters to you, that's the place to be.

reddit.com
u/WeakWoodpecker2912 — 5 days ago
▲ 0 r/git

What's the worst thing that's happened to you because of a messy git history?

I'm researching how much git commit hygiene actually matters to people day-to-day — not building or selling anything yet, genuinely just trying to understand if this is a real problem or something devs shrug off.

A few questions, answer whichever apply:

  • Has bad commit history (or a vague commit message) ever cost you time — slower code review, confusion during a bug hunt, someone duplicating work they didn't know was already done?
  • Does your team enforce any commit conventions? Does anyone actually follow them?
  • Have you ever built a workaround for this — a script, a git alias, a personal rule?

Happy to hear "this has literally never mattered to me" too — that's useful data.

If anyone's open to a quick 15-min call instead of typing it all out, I'd genuinely appreciate it — feel free to DM me.

reddit.com
u/Smasduq — 6 days ago