Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let's document! Git edition #3953

Open
sbrl opened this issue Mar 30, 2020 · 15 comments · Fixed by #9736
Open

Let's document! Git edition #3953

sbrl opened this issue Mar 30, 2020 · 15 comments · Fixed by #9736
Labels
good first issue Recommended issues for first-time contributors help wanted You can help make tldr-pages better! let's document Tracker issue to document multiple subcommands/commands of a tool or utility or category. new command Issues requesting creation of a new page.

Comments

@sbrl
Copy link
Member

sbrl commented Mar 30, 2020

For those not in the know, tldr-pages is about more than just commands. Those commands that are too expansive to fit on 1 page often have multiple subcommands - which we can document on their own pages. For example, try these:

tldr git merge
tldr git add
tldr ip address

In the case of git, it has quite a number of subcommands (139 ❗). Let's document them all!

@sbrl sbrl added gci PRs made for Google Code-In. help wanted You can help make tldr-pages better! new command Issues requesting creation of a new page. and removed gci PRs made for Google Code-In. labels Mar 30, 2020
@ivanhercaz
Copy link
Collaborator

ivanhercaz commented May 13, 2020

I really like the "Let's document them all!".

Just one question, are translations also included in this "challenge"? 🙈🤗

@sbrl
Copy link
Member Author

sbrl commented May 13, 2020

Lol, if you'd like to join in and translate them, that'd be great @ivanhercaz! I only know English though, so I can't really participate in the translations department :P

@jn64
Copy link
Contributor

jn64 commented Jun 7, 2020

These don't seem necessary:

  1. citool: citool is a default alias to gui citool which starts git-gui in a particular mode. That's literally it.

  2. whatchanged: From git-whatchanged(1):

    New users are encouraged to use git-log(1) instead. [...] The command is kept primarily for historical reasons

  3. request-pull has one specific usage, which is explained in the very short man page.

Also remote-keybase is not part of git, you may have it from a third party.

@sbrl
Copy link
Member Author

sbrl commented Jun 11, 2020

Thanks, @jn64 - I'll update the list. I just took all the subcommands from the bash autocompletion list - -I haven't yet had time to check them all :P

  • whatchanged: agreed - this doesn't seem necessary.
  • request-pull: It might be short, but regular commands such as arch and nproc still have tldr pages, so I think this is fine.
  • citool: Hrm - my machine doesn't seem to even have that alias anymore. Either way, I think it's best to avoid documenting aliases if possible and stick to the canonical names unless there's a good reason.

@jn64 jn64 mentioned this issue Jun 25, 2020
6 tasks
@navarroaxel navarroaxel mentioned this issue Aug 9, 2020
6 tasks
alison-li added a commit to alison-li/tldr that referenced this issue Aug 15, 2020
sbrl pushed a commit to alison-li/tldr that referenced this issue Aug 21, 2020
sbrl pushed a commit to alison-li/tldr that referenced this issue Aug 21, 2020
sbrl pushed a commit that referenced this issue Sep 9, 2020
sbrl pushed a commit that referenced this issue Sep 9, 2020
This was referenced Mar 16, 2021
@bl-ue bl-ue changed the title Let's document! git edition Let's document! Git edition Apr 30, 2021
@CleanMachine1
Copy link
Member

CleanMachine1 commented May 10, 2021

Regardless of git-whatchanged being unrequired, I am going to add it since I use it. Where should I submit my work/commits

@CleanMachine1
Copy link
Member

You can tick whatchanged off!

@bl-ue bl-ue mentioned this issue May 11, 2021
6 tasks
@patricedenis patricedenis linked a pull request May 12, 2021 that will close this issue
6 tasks
@patricedenis patricedenis removed a link to a pull request May 12, 2021
6 tasks
@patricedenis patricedenis mentioned this issue May 12, 2021
6 tasks
@marchersimon marchersimon unpinned this issue May 18, 2021
@sesam sesam mentioned this issue Oct 10, 2021
7 tasks
@nath1as nath1as mentioned this issue Oct 15, 2022
5 tasks
@kbdharun kbdharun added the good first issue Recommended issues for first-time contributors label Oct 15, 2022
@sidyes sidyes mentioned this issue Oct 18, 2022
5 tasks
@kbdharun kbdharun reopened this Jan 7, 2023
@kbdharun
Copy link
Member

kbdharun commented Jan 7, 2023

How is this issue closed if all the pages weren't added?

@kbdharun kbdharun added the let's document Tracker issue to document multiple subcommands/commands of a tool or utility or category. label Oct 21, 2023
@WangLinSongss
Copy link
Contributor

WangLinSongss commented Oct 22, 2023

gitweb points to a broken link, I believe it should point to https://git-scm.com/docs/gitweb

There is already a page for the hub command, but hub has many subcommands, as suggested by @sebastiaanspeck, I created #11156 to document them.

@sebastiaanspeck
Copy link
Member

Maybe create a new issue for it to keep this issue clean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Recommended issues for first-time contributors help wanted You can help make tldr-pages better! let's document Tracker issue to document multiple subcommands/commands of a tool or utility or category. new command Issues requesting creation of a new page.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants