Изменения документа Сценарии
Редактировал(а) Alexandr Fokin 2024/02/02 13:13
От версии 1.3
отредактировано Alexandr Fokin
на 2022/06/15 14:18
на 2022/06/15 14:18
Изменить комментарий:
Добавлен комментарий
К версии 1.8
отредактировано Alexandr Fokin
на 2023/07/31 13:19
на 2023/07/31 13:19
Изменить комментарий:
К данной версии нет комментариев
Сводка
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
-
Объекты (1 изменено, 1 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -1,23 +1,41 @@ 1 - 1 +|(% style="width:467px" %)Переместить файл или папку (в рамках одной ветки) с сохранением истории изменений|(% style="width:1028px" %){{code language="cmd"}}git mv <SrcFileOrDirectoryName> <DestinationDirectoryName>{{/code}} 2 +|(% style="width:467px" %)Обновить список удаленных веток 3 + |(% style="width:1028px" %){{code language="cmd"}}git remote update <RepositoryAlias> --prune{{/code}}((( 4 +(RepositoryAlias по умолчанию: origin) 5 +))) 6 +|(% style="width:467px" %)Загрузка ветки|(% style="width:1028px" %)((( 7 +(% id="cke_bm_1192S" style="display:none" %) (%%)Загрузить и сделать активной ветку 2 2 3 - Переместитьфайлилипапкуссохранениемистории изменений4 - {{codelanguage="cmd"}}gitmv <SrcFileOrDirectoryName> <DestinationDirectoryName>{{/code}}9 +How to download a branch with git? 10 +[[https:~~/~~/stackoverflow.com/questions/2294313/how-to-download-a-branch-with-git>>https://stackoverflow.com/questions/2294313/how-to-download-a-branch-with-git]] 5 5 6 ----- 12 +{{code language="cmd"}} 13 +git branch --track <LocalBranchName> origin/<RemoteBranchName> 14 +git checkout <LocalBranchName> 15 +{{/code}} 16 +))) 17 +|(% style="width:467px" %)Отправить одну определенную ветку в определенный репозиторий|(% style="width:1028px" %)((( 18 +Отправить одну определенную ветку в определенный репозиторий (в том числе в пустой) 7 7 8 -Обновить список удаленных веток (RepositoryAlias по умолчанию: origin) 9 -{{code language="cmd"}}git remote update <RepositoryAlias> --prune{{/code}} 10 - 11 ----- 12 - 20 +{{code language="cmd"}} 21 +git remote add <RepositoryAlias> <RepositoryUrl> 22 +git checkout <LocalBranchName> 23 +git push -u <RepositoryAlias> <LocalBranchName>:<RemoteBranchName> 24 +git remote remove <RepositoryAlias> 25 +{{/code}} 26 +))) 27 +|(% style="width:467px" %) |(% style="width:1028px" %) 28 +|(% style="width:467px" %)Перенести commit из одной ветки в другую|(% style="width:1028px" %)((( 13 13 Как в Git перенести commit из одной ветки в другую? 14 14 [[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/]] 15 -{{code language="cmd"}}git cherry-pick{{/code}} 16 16 17 ----- 32 +{{code language="cmd"}} 33 +git cherry-pick 34 +{{/code}} 35 +))) 36 +|(% style="width:467px" %)Вынесение отдельно взятой папки из конкретной ветки в другую ветку с полным сохранением ее истории.|(% style="width:1028px" %)((( 37 + 18 18 19 -Вынесение части репозитория (отдельной папки) из конкретной ветки в другую ветку с полным сохранением ее истории. 20 - 21 21 {{code language="cmd"}} 22 22 git subtree split -P <DirectoryName> -b <NewBranchName> 23 23 {{/code}} ... ... @@ -24,24 +24,30 @@ 24 24 25 25 Detach (move) subdirectory into separate Git repository 26 26 [[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 +))) 46 +|(% style="width:467px" %)Прервать слияние|(% style="width:1028px" %){{code language="cmd"}}git merge --abort{{/code}} 47 +|(% style="width:467px" %) |(% style="width:1028px" %) 27 27 28 28 ---- 29 29 30 -Загрузить ветку 31 -How to download a branch with git? 32 -[[https:~~/~~/stackoverflow.com/questions/2294313/how-to-download-a-branch-with-git>>https://stackoverflow.com/questions/2294313/how-to-download-a-branch-with-git]] 51 +==== Внутренние ссылки: ==== 33 33 34 -{{code language="cmd"}} 35 -git branch --track <LocalBranchName> origin/<RemoteBranchName> 36 -git checkout <LocalBranchName> 37 -{{/code}} 53 +====== Дочерние страницы: ====== 38 38 39 -Отправить одну определенную ветку в определенный репозиторий (в том числе в пустой) 40 -{{code language="cmd"}}git remote add <RepositoryAlias> <RepositoryUrl> 41 -git checkout <LocalBranchName> 42 -git push -u <RepositoryAlias> <LocalBranchName>:<RemoteBranchName> 43 -git remote remove <RepositoryAlias>{{/code}} 55 +{{children/}} 44 44 45 - ----57 +====== Обратные ссылки: ====== 46 46 47 - 59 +{{velocity}} 60 +#set ($links = $doc.getBacklinks()) 61 +#if ($links.size() > 0) 62 + #foreach ($docname in $links) 63 + #set ($rdoc = $xwiki.getDocument($docname).getTranslatedDocument()) 64 + * [[$escapetool.xml($rdoc.fullName)]] 65 + #end 66 +#else 67 + No back links for this page! 68 +#end 69 +{{/velocity}} 70 + 71 +----
- XWiki.XWikiComments[0]
-
- Комментарий
-
... ... @@ -1,2 +1,4 @@ 1 +Версионирование структуры Microsoft Office OpenXml документов. 2 + 1 1 View .docx file on Github and use git diff on .docx file format 2 2 https://stackoverflow.com/questions/22439517/view-docx-file-on-github-and-use-git-diff-on-docx-file-format
- XWiki.XWikiComments[2]
-
- Автор
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.cccc1808 - Комментарий
-
... ... @@ -1,0 +1,2 @@ 1 +Unable to resolve "unable to get local issuer certificate" using git on Windows with self-signed certificate 2 +[[https:~~/~~/stackoverflow.com/questions/23885449/unable-to-resolve-unable-to-get-local-issuer-certificate-using-git-on-windows>>https://stackoverflow.com/questions/23885449/unable-to-resolve-unable-to-get-local-issuer-certificate-using-git-on-windows]] - Дата
-
... ... @@ -1,0 +1,1 @@ 1 +2023-04-09 20:20:49.874