Git: Книга от сообщества | Participants
|
- Statistics
- Participants
- Translate into Russian
- Translation result
- 74% translated in draft. Almost done, let's finish it!
If you do not want to register an account, you can sign in with OpenID.
in the numbers of the files (in this case, 1-4) | ||
What now> 2 | ||
staged unstaged path | ||
1: unchanged +4/-0 assets/stylesheets/style.css | ||
2: unchanged +23/-11 layout/book_index_template.html | 2: unchanged +23/-11 layout/book_index_template.html | |
3: unchanged +7/-7 layout/chapter_template.html | ||
4: unchanged +3/-3 script/pdf.rb | ||
5: unchanged +121/-0 text/14_Interactive_Rebasing/0_ Interactive_Rebasing.markdown | 5: unchanged +121/-0 text/14_Interactive_Rebasing/0_ Interactive_Rebasing.markdown | |
Update>> 1-4 | ||
staged unstaged path | ||
* 1: unchanged +4/-0 assets/stylesheets/style.css | * 1: unchanged +4/-0 assets/stylesheets/style.css | |
* 2: unchanged +23/-11 layout/book_index_template.html | * 2: unchanged +23/-11 layout/book_index_template.html | |
* 3: unchanged +7/-7 layout/chapter_template.html | * 3: unchanged +7/-7 layout/chapter_template.html | |
* 4: unchanged +3/-3 script/pdf.rb | ||
5: unchanged +121/-0 text/14_Interactive_Rebasing/0_ Interactive_Rebasing.markdown | 5: unchanged +121/-0 text/14_Interactive_Rebasing/0_ Interactive_Rebasing.markdown | |
Update>> | ||
If I hit enter, I will be taken back to the main menu where I can see that | Если нажать клавишу ввода, я буду возвращен к главному меню, где можно видеть, как | |
the file status has changed: | ||
What now> status | ||
staged unstaged path | ||
1: +4/-0 nothing assets/stylesheets/style.css | ||
2: +23/-11 nothing layout/book_index_template.html | 2: +23/-11 nothing layout/book_index_template.html | |
3: +7/-7 nothing layout/chapter_template.html | ||
4: +3/-3 nothing script/pdf.rb | ||
5: unchanged +121/-0 text/14_Interactive_Rebasing/0_ Interactive_Rebasing.markdown | 5: unchanged +121/-0 text/14_Interactive_Rebasing/0_ Interactive_Rebasing.markdown | |
Now we can see the first four files are staged and the last one is still not. | Теперь мы можем видеть, что первые четыре файла подготовлены к индексации, а последний - ещё нет. | |
This is basically a compressed way to see the same information we see when | Это, в основном, сжатый метод отображения той же информации, которую мы видели, когда | |
we run 'git status' from the command line: | ||
$ git status | ||
# On branch master | ||
# Changes to be committed: | ||
# (use "git reset HEAD <file>..." to unstage) | ||
# | ||
# modified: assets/stylesheets/style.css | ||
# modified: layout/book_index_template.html | ||
# modified: layout/chapter_template.html | ||
# modified: script/pdf.rb | ||
# | ||
# Changed but not updated: |
License: GPL
