From 0e40bcbf13426cfec0f0603f37daf1301690555e Mon Sep 17 00:00:00 2001 From: archos Date: Mon, 13 May 2024 21:07:25 +0200 Subject: [PATCH] =?UTF-8?q?p=C5=99id=C3=A1ny=20dal=C5=A1=C3=AD=20p=C5=99?= =?UTF-8?q?=C3=ADkazy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/basic-git-commands.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/docs/basic-git-commands.md b/docs/basic-git-commands.md index 559ff63..cc6a02c 100644 --- a/docs/basic-git-commands.md +++ b/docs/basic-git-commands.md @@ -33,6 +33,24 @@ git clone Klonuje repozitář z vzdáleného zdroje. ```bash -git clone +git clone ``` +git add +Přidá soubory do staging area. + +```bash +git add +git add . +``` +git commit + +Commituje přidané soubory s popisnou zprávou. + +```bash +git commit -m "Popis změn" +``` +### git status +Zobrazí stav pracovního adresáře a staging area. Umožňuje vidět, které soubory jsou změněné, ale ještě nejsou přidané do staging area, a které jsou připraveny k commitu. +```bash +git status