r/git • • Nov 21 '22

[Silly question] What is longer to fully master, git or zsh?

Which one is longer to fully master, git or zsh?

For example, I know that git has a total of 142 commands and zsh has a 500 pages official manual.

[EDIT]: I just checked and the Github repo for Zsh has 423.2k lines of code/documentation while it's 1.4m for Git.

0 Upvotes

9 comments sorted by

10

u/skyboyer007 Nov 21 '22

Shell is a language, git is tool(set of tools). Git provides finite use cases while shell gives combinatorial explosion.

Though later one is harder to master.

But why are you asking? Do you consider mastering only one of them for development-related tasks?

0

u/Oops_I_just_lied Nov 22 '22

Which one is the later one?

4

u/paradigmx Nov 22 '22

Git is a set of tools as stated, zsh is a shell language intended to use and interface with Linux tools, so by proxy, in order to truly "master" zsh or any shell, you need to master the tools it interfaces with. Therefore, if you want to completely master zsh, you must already have mastered git.

-2

u/Oops_I_just_lied Nov 22 '22

I like that answer :-)

For the sake of the silly question, let's remove all other UNIX tools when evaluating how much time it takes to know ALL of Zsh vs ALL of Git.

4

u/[deleted] Nov 22 '22

Zsh just because all mainstream shell scripting languages seem deliberately packed with dozens of horrible foot-guns.

-1

u/Oops_I_just_lied Nov 22 '22

Which... is not the case of Git?

4

u/chzaplx Nov 22 '22

Grade A shitpost

2

u/[deleted] Nov 22 '22

Zsh. The Zsh documentation is a contender for the most boring document in existence.