Created
November 10, 2016 10:59
-
-
Save vanch/a8438d3ccfcb3e149318b13669d0ac22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vanch@vanch-pad /tmp $ git init test | |
Инициализирован пустой репозиторий Git в /tmp/test/.git/ | |
vanch@vanch-pad /tmp $ cd test | |
vanch@vanch-pad /tmp/test master $ mkdir etc | |
vanch@vanch-pad /tmp/test master $ git add etc | |
vanch@vanch-pad /tmp/test master $ git status | |
На ветке master | |
Начальный коммит | |
нечего коммитить (создайте/скопируйте файлы, затем запустите «git add», чтобы отслеживать их) | |
vanch@vanch-pad /tmp/test master $ ls | |
etc | |
vanch@vanch-pad /tmp/test master $ touch etc/file | |
vanch@vanch-pad /tmp/test master $ git add etc/file | |
vanch@vanch-pad /tmp/test master* $ git status | |
На ветке master | |
Начальный коммит | |
Изменения, которые будут включены в коммит: | |
(используйте «git rm --cached <файл>…», чтобы убрать из индекса) | |
новый файл: etc/file | |
vanch@vanch-pad /tmp/test master* $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment