Search code examples
gitmanpage

How to run gittutorial?


From the git man page:

"See gittutorial(7) to get started, then see giteveryday(7) for a useful minimum set of commands. The Git User’s Manual[1] has a more in-depth introduction."

I am however, unable to find a command called gittutorial. How do I access it?


Solution

  • git help tutorial or man 7 gittutorial. The (7) in parentheses is a manpage section, section 7 is for introductory/expository conceptual discussion, man 7 intro gets you the section 7 intro page. Git help displays the docs in whatever form they're installed, by default that's manpages but you can say e.g. git help --web tutorial to see whether you've got the html docs installed too.