this post was submitted on 08 Jan 2024
54 points (90.9% liked)

Git

2870 readers
1 users here now

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Resources

Rules

  1. Follow programming.dev rules
  2. Be excellent to each other, no hostility towards users for any reason
  3. No spam of tools/companies/advertisements. It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.

Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.

founded 1 year ago
MODERATORS
top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 10 months ago* (last edited 10 months ago) (1 children)

GitUI is amazing. The only caveat to many developers is that GitUI is still unusable when you GPG sign your commits, even after so many years and with functioning PRs already created. This excludes, in my opinion, a large portion of the possible users from using GitUI. However, it might still be useful for everything Git-related which does not require creating/changing commits.

[–] [email protected] 2 points 10 months ago (2 children)

"GitUI is amazing, although unusable."

[–] [email protected] 3 points 10 months ago

GitUi is amazing, as long as you don't sign your commits...

[–] [email protected] 1 points 9 months ago

Another way of reading it is: "GitUI is unfinished, but the parts that are done are amazing"

[–] [email protected] 7 points 10 months ago

I really like gitui. I have used it for a year or so and its very helpful.

[–] [email protected] 7 points 10 months ago (1 children)

For a super long time, I was a CLI-purist when it came to git, and I still maintain that anyone who knows how to use git should be able to do anything via the CLI entirely.

However, over the past few months I have used gitui through vim-floaterm, with it setup to auto-launch as the floating terminal opens. Super useful to just hit a hotkey while in nvim and bash out a super quick commit/push with just a couple keystrokes.

[–] [email protected] 1 points 10 months ago (1 children)

How well does it work with super large repos (i.e. Linux, dpdk, etc)? In my experience git plugins (Vim fugitive, zsh git) tend to be a miss with anything larger than a personal project.

[–] [email protected] 2 points 10 months ago

It works beautifully for me; I cloned the Linux kernel just now and made a few modifications (just a few random comments here and there), and it was just as fast as it always is for me - Which is basically instant.

To be clear: It's not a plugin, it's a proper CLI app written in Rust. I just use it within nvim by using a floating terminal plugin. Definitely worth giving it a try!

[–] [email protected] 3 points 10 months ago

Was surprised to see the repo was 60 MB but looks like it is because of the screen cast gif

[–] [email protected] 2 points 10 months ago

I prefer using the command line.. but it is nice to be able to use a TUI to select the staging files, so this works out perfectly.

[–] [email protected] 2 points 10 months ago (1 children)

How does it compare to LazyGit?

[–] [email protected] 1 points 10 months ago

It seems really cool, but can't do cherry picking yet iirc.