this post was submitted on 03 Mar 2025
109 points (100.0% liked)
Git
3098 readers
17 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
- Follow programming.dev rules
- Be excellent to each other, no hostility towards users for any reason
- 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Just use a UI like vscode or git kraken
Knowing "how to use" the git command line is an exercise in delusion. You will only know the same small piece the UI tools know and if you get in trouble you're going to stack overflow.
Just my 2¢ but disagree on this one. Where GUIs are usually powerful but inflexible, the CLI is both powerful and flexible. And getting into trouble usually means you have a print on the console that tells you exactly what happened and what concept or command to look up.
Matter of opinion and goals I guess, but if you want to understand git as a tool I recommend learning the CLI.
What UIs have you tried? The ones I've used are completely flexible. Checkboxes for days.
A ton, like the ones integrated in many editors/IDEs, GitHub Desktop, the one with the little turtle icon, forgot its name... Using gitk all the time. Don't get me wrong I have nothing against a GUI, just saying I had a much better learning experience with git once I started using the CLI and man pages instead of a GUI and random tutorials for them. It's just a lot more accessible and better documented in my experience.
Ah...so just the bad ones. Tortoisegit is God awful, stuck in 1999. GitHub desktop is barely a client. Etc
Of that set the only one worth any damn is the one build into vscode.
That having been said you just indicated you enjoy reading man pages for the git command line, something literally nobody enjoys. So maybe you are just a special ❄️.
If it works don't fix it. Not that it's my go-to.
I have indicated that I do it, not that I enjoy it. But yeah, I prefer it to skimming 20 verbose blog posts and outdated Stackoverflow questions to find one that is actually related to my specific use case. And often enough the search results will be online versions of the man pages anyway. Not quite sure why you are so hostile about it, I just said "read the docs" basically.