this post was submitted on 23 Jul 2023
25 points (100.0% liked)

Git

2632 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (1 children)

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.

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

What do you mean by verbosity? Are the commands long or is the command output long?

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

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.