explainshell icon indicating copy to clipboard operation
explainshell copied to clipboard

The following command isn't showing information that is contained in the latest docs. "git push --force-with-lease"

Open AniketSK opened this issue 7 years ago • 3 comments

https://www.explainshell.com/explain?cmd=git+push+--force-with-lease This fails to explain the switch force-with-lease and instead shows information on switches after push in general.

AniketSK avatar Feb 24 '18 19:02 AniketSK

Similar error : https://explainshell.com/explain?cmd=+git+commit+--all+--amend+ --no-edit part shows <file>... section

enisozgen avatar May 20 '19 21:05 enisozgen

This one doesn't find the right man page:

  • https://explainshell.com/explain?cmd=git+cherry-pick+-m+1+-e+43b5a1a

This one does:

  • https://explainshell.com/explain?cmd=git-cherry-pick+-m+1+-e+43b5a1a

I'm guessing there's some special-case code that adds the dash after 'git' for some but not all git commands.

PenelopeFudd avatar Sep 03 '21 20:09 PenelopeFudd

I think @PenelopeFudd is right, there's logic that knows to redirect <cmd> <subcommand> to another man page. Unfortunately these had to be done by hand so not all of them are there.

idank avatar Sep 16 '21 10:09 idank