Изменения документа Сценарии
Редактировал(а) Alexandr Fokin 2024/02/02 13:13
От версии 1.8
отредактировано Alexandr Fokin
на 2023/07/31 13:19
на 2023/07/31 13:19
Изменить комментарий:
К данной версии нет комментариев
К версии 1.9
отредактировано Alexandr Fokin
на 2024/02/02 13:13
на 2024/02/02 13:13
Изменить комментарий:
К данной версии нет комментариев
Сводка
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -1,9 +1,9 @@ 1 -|(% style="width:46 7px" %)Переместить файл или папку (в рамках одной ветки) с сохранением истории изменений|(% style="width:1028px" %){{code language="cmd"}}git mv <SrcFileOrDirectoryName> <DestinationDirectoryName>{{/code}}2 -|(% style="width:46 7px" %)Обновить список удаленных веток3 - |(% style="width:102 8px" %){{code language="cmd"}}git remote update <RepositoryAlias> --prune{{/code}}(((1 +|(% style="width:464px" %)Переместить файл или папку (в рамках одной ветки) с сохранением истории изменений|(% style="width:1020px" %){{code language="cmd"}}git mv <SrcFileOrDirectoryName> <DestinationDirectoryName>{{/code}} 2 +|(% style="width:464px" %)Обновить список удаленных веток 3 + |(% style="width:1020px" %){{code language="cmd"}}git remote update <RepositoryAlias> --prune{{/code}}((( 4 4 (RepositoryAlias по умолчанию: origin) 5 5 ))) 6 -|(% style="width:46 7px" %)Загрузка ветки|(% style="width:1028px" %)(((6 +|(% style="width:464px" %)Загрузка ветки|(% style="width:1020px" %)((( 7 7 (% id="cke_bm_1192S" style="display:none" %) (%%)Загрузить и сделать активной ветку 8 8 9 9 How to download a branch with git? ... ... @@ -14,7 +14,7 @@ 14 14 git checkout <LocalBranchName> 15 15 {{/code}} 16 16 ))) 17 -|(% style="width:46 7px" %)Отправить одну определенную ветку в определенный репозиторий|(% style="width:1028px" %)(((17 +|(% style="width:464px" %)Отправить одну определенную ветку в определенный репозиторий|(% style="width:1020px" %)((( 18 18 Отправить одну определенную ветку в определенный репозиторий (в том числе в пустой) 19 19 20 20 {{code language="cmd"}} ... ... @@ -24,8 +24,8 @@ 24 24 git remote remove <RepositoryAlias> 25 25 {{/code}} 26 26 ))) 27 -|(% style="width:46 7px" %) |(% style="width:1028px" %)28 -|(% style="width:46 7px" %)Перенести commit из одной ветки в другую|(% style="width:1028px" %)(((27 +|(% style="width:464px" %) |(% style="width:1020px" %) 28 +|(% style="width:464px" %)Перенести commit из одной ветки в другую|(% style="width:1020px" %)((( 29 29 Как в Git перенести commit из одной ветки в другую? 30 30 [[http:~~/~~/paratapok.ru/developer-tools/2593_kak-v-git-perenesti-commit-iz-odnoj-vetki-v-druguyu/>>http://paratapok.ru/developer-tools/2593_kak-v-git-perenesti-commit-iz-odnoj-vetki-v-druguyu/]] 31 31 ... ... @@ -33,7 +33,7 @@ 33 33 git cherry-pick 34 34 {{/code}} 35 35 ))) 36 -|(% style="width:46 7px" %)Вынесение отдельно взятой папки из конкретной ветки в другую ветку с полным сохранением ее истории.|(% style="width:1028px" %)(((36 +|(% style="width:464px" %)Вынесение отдельно взятой папки из конкретной ветки в другую ветку с полным сохранением ее истории.|(% style="width:1020px" %)((( 37 37 38 38 39 39 {{code language="cmd"}} ... ... @@ -43,9 +43,20 @@ 43 43 Detach (move) subdirectory into separate Git repository 44 44 [[https:~~/~~/stackoverflow.com/questions/359424/detach-move-subdirectory-into-separate-git-repository/17864475#17864475>>https://stackoverflow.com/questions/359424/detach-move-subdirectory-into-separate-git-repository/17864475#17864475]] 45 45 ))) 46 -|(% style="width:467px" %)Прервать слияние|(% style="width:1028px" %){{code language="cmd"}}git merge --abort{{/code}} 47 -|(% style="width:467px" %) |(% style="width:1028px" %) 46 +|(% style="width:464px" %)Прервать слияние|(% style="width:1020px" %){{code language="cmd"}}git merge --abort{{/code}} 47 +|(% style="width:464px" %)git submodule|(% style="width:1020px" %)((( 48 +|((( 49 +How to see which commit a git submodule points at 50 +[[https:~~/~~/stackoverflow.com/questions/20655073/how-to-see-which-commit-a-git-submodule-points-at>>https://stackoverflow.com/questions/20655073/how-to-see-which-commit-a-git-submodule-points-at]] 48 48 52 +{{code language="cmd"}} 53 +git submodule status 54 +{{/code}} 55 +)))| 56 +| | 57 +))) 58 +|(% style="width:464px" %) |(% style="width:1020px" %) 59 + 49 49 ---- 50 50 51 51 ==== Внутренние ссылки: ====