this post was submitted on 23 Jul 2023
29 points (100.0% liked)
Git
2910 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
- 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 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I wonder if something is ever going to overtake git as the mainstream source control. I honestly agree with everything, git is so verbose and makes it easy to break something. The commands also have bizarre names that makes doing something specific annoying. The git docs are also a giant wall of text, just yesterday someone posted this.. I really want to try something else but it feels like there's no point because nobody would support or understand it.
Until then I guess I'll keep doing
git status
,git add *
,git commit -m "some stuff"
,git push
until something breaks.It's also an environment of weird verbosity. Try using libgit2 to do a clone, checkout, commit, push. It's rediculous.
The cli abstracts it at least. But idk why the preference seems to be uber verbosity. We can have that verbosity and macros but nope.
What do you mean by verbosity? Are the commands long or is the command output long?
libgit2 is a library that folks use to implement git functionality inside of their applications. Writing the equivalent code via libgit2 to those standard git cli operations tend to be rather long and verbose compared to the one line cli commands.
Mercurial is worth trying, and you can use it as a client to Git too! Just be aware that Mercurial's branching is not the same - but if you use Mercurial's "bookmarks", they're actually compatible with Git branches.