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

Git 1: příkazy - restore místo reset #705

Merged
merged 2 commits into from
Mar 9, 2024
Merged

Conversation

jficz
Copy link
Contributor

@jficz jficz commented Mar 8, 2024

Popisek resetu je značně zavádějící, restore k tomu má trochu blíž a ideální řešení (pro akci "vyprázni stage") bohužel tak úplně neexistuje.

A stagi se v Gitu říká "Index".

@@ -4,13 +4,16 @@
: Vytvoří lokální kopii vzdáleného repozitáře.

**add**
: Přidá změny do :term{cs="oblasti připravených změn" en="stage"}.
: Přidá změny do :term{cs="oblasti připravených změn" en="stage, index"}.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Název „index“ jsem pro stage nikdy neslyšel, to se používá?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Používá se to primárně v dokumentaci (man git-add), v praxi se ten prostor nejpojmenovává vůbec a používají se jen slovesa a přídavný jména ("to stage", "staged changes" apod.) budu o tom trochu mluvit

@FilipJirsak FilipJirsak merged commit fb742c4 into master Mar 9, 2024
1 check failed
@FilipJirsak FilipJirsak deleted the fix-git1-prikazy branch March 9, 2024 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants