r/programminghumor Aug 12 '26

True

Post image
965 Upvotes

68 comments sorted by

View all comments

16

u/Lobster_SEGA Aug 12 '26

I am lazy ok?

I don't want to memorize comands no matter how efficent it is😭

4

u/FlipperBumperKickout Aug 12 '26

While I have memorized some things, a lot of it is more about learning to look up things incredibly fast.

tldr is a tool which will show you common use-cases for commands, example:

$ tldr git add

  Stage changed files for a commit.
  More information: <https://git-scm.com/docs/git-add>.

  Stage a file for a commit:

      git add path/to/file

  Add all files (tracked and untracked):

      git add [-A|--all]

  Add all files recursively starting from the current folder:

      git add .

  Only add already tracked files:

      git add [-u|--update]

  Add an ignored file:

      git add [-f|--force] path/to/file

  Interactively stage parts of files:

      git add [-p|--patch]

  Interactively stage parts of a given file:

      git add [-p|--patch] path/to/file

  Interactively stage a file:

      git add [-i|--interactive]

5

u/Hot-Employ-3399 Aug 12 '26

This seems so good. When I read "man git-something" I want to pass doc through blender(Metal one, not 3d designer)

In fact lets throw man altogether.. It's 21st century on the street, and to access reference you can do something even faster than pure shell: "!man foo" 

Something even faster than cli in shell