Tldr: page request: git

Created on 27 Nov 2017  Â·  6Comments  Â·  Source: tldr-pages/tldr

Most helpful comment

Please look into this conversation - https://github.com/tldr-pages/tldr/pull/1675#issuecomment-347082938

All 6 comments

We already have pages for git and its subcommands. See tldr git, tldr git commit, tldr git push etc. What is this issue for ?

@agnivade tldr git returns very basic information. Like git --help. I think it should contain at least a list of basic operations like checkout, commit, push, init and status.

→ tldr git

git

Distributed version control system.

- Check the Git version:
    git --version

- Call general help:
    git --help

- Call help on a command:
    git help command

- Execute Git command:
    git command

Compare to docker

→ tldr docker

docker

Manage Docker containers and images.

- List currently running docker containers:
    docker container ls

- List all docker containers (running and stopped):
    docker container ls -a

- Start a container:
    docker container start container

- Stop a container:
    docker container stop container

- Start a container from an image and get a shell inside of it:
    docker container run -it image bash

- Run a command inside of an already running container:
    docker container exec container command

- Remove a stopped container:
    docker container rm container

Please look into this conversation - https://github.com/tldr-pages/tldr/pull/1675#issuecomment-347082938

I am going to close this issue now. PR #1675 has a plan to tackle this. Let's continue the discussion there.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zlatanvasovic picture zlatanvasovic  Â·  3Comments

dikarel picture dikarel  Â·  3Comments

waldyrious picture waldyrious  Â·  4Comments

phpmaple picture phpmaple  Â·  3Comments

mikerouxfr picture mikerouxfr  Â·  3Comments